Okay so basically when you create a tool/hack which require you too read a process memory or write something you have to use admin rights/privileges.
So i am going to show you step by step how to make your program embed the manifest so that you have to start with admin rights.
For this guide im using Visual Studio 2008, im coding in C# if that matters.
So to start i will show you how I do it. There might be several ways to do it, but this is the way i got it to work.
So the first thing first download this file or create a new
Manifest file is here
it gotta be named "SolutionName.exe.manifest" without ""
then go to VS do what the pic below says.
browse the downloaded file.
Then in the window below in the dropdown menu select the manifest
Then in the Solution Explorer window
Double click the manifest
and edit the lines which are marked. Dont change uiAcess as that requires you to have the program in a "secure" folder as program files or system32.
Copy to output dir should be always be set as Copy Always.
And then you should be done, if you have any questions please ask but before you do make sure all the settings are correct.