CWinApp::GetProfileXX and CWinApp::WriteProfileXX
Hello everyone,
Is there a way to change CWinApp::GetProfileXX and CWinApp::WriteProfileXX default behavior from reading/writing to CURRENT_USER key to r/w to LocalMachine key? Or would I have to rewrite this functions to work this way?
Thank you in advance,
Eduardo Lara
Re: CWinApp::GetProfileXX and CWinApp::WriteProfileXX
I've personally had a very difficult time using GetProfileXX and WriteProfileXX. Instead, I downloaded a class off of Codeguru under System. (I think). Try a couple of them out. These work much better. Of course, if you're using VC5.0, you can also use the CRegKey class. Look it up in the documentation.
Re: CWinApp::GetProfileXX and CWinApp::WriteProfileXX
Hello...
Use SetRegistryKey() and set the registry key as whatever key you want to use.
Santhosh