HKEY CURRENT USER \software \microsoft\ windowsNT \CurrentVersion\ AppCompatFlags "application path" = RUNASXP3
I want to create an application which runs in default XP mode on windows 7 when i run the application so, i want to write into the registry as in the link above.
I am building the application in VC++ 2010, i want to write into the above registry through the program, so that when i run the program it runs in XP mode. How to do this..?