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 ru开发者_开发知识库n the program it runs in XP mode. How to do this..?
Have you had a look at google? It appears the search results cover your question quite well.
For instance:
- Working with the Windows Registry in C++
- Microsoft Visual C++ Tutorials - Keeping Values in the Registry
- Editing Windows Registry - C++
You can also search on Stackoverflow.
精彩评论