views:

129

answers:

1

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..?

+2  A: 

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.

mafutrct
YA , i tried these links but not of much help..!!
rajivpradeep
Well, we can't really help you if you don't tell us what you tried and what went wrong.
mafutrct