I wrote a basic code to retrieve the list of processes by EnumProcesses() in Psapi. I open VS2012 in admin mode. During debugging the code succesfully retrieves all the process handles. As I build the process it couldn't get process handles as a stand-alone application; most process handles return NULL values. I tried to set the "UAC execution level" in linker to requireAdministrator; but nothing changes. Any recommendations?
Topic archived. No new replies allowed.