Reputation: 3095
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..?
Upvotes: 0
Views: 2176
Reputation: 32640
Have you had a look at google? It appears the search results cover your question quite well.
For instance:
You can also search on Stackoverflow.
Upvotes: 2