January 16th, 2013, 11:34 AM
How to remove application name from registry
In a typical MFC application I use SetRegistryKey(_T("My_Company")); to set the root registry entry for my application. The MFC application however creates an entry by the name of executable where it stores all the settings of that application. I don't want that because we often change the name of executable and I want it read registry from the same set location. As example if my application name is Calculator.exe and Calculator_debug.exe it creates two different registry settings.
How can I stop that?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!