WriteProfileString writes to the registry, not just an ini. To remove a profile string from the registry you need to get the key such as theApp.GetAppRegistryKey, tunnel to the key you want deleted and then use RegDeleteKeyEx.
TpB
Posts
-
WriteProfileString -
[Curiosity] What does the "average" C++ developer work on?The strange beast works on all of the tools that allow other developers to develop websites such as this. They develop the runtime engines that support the code that java, .Net, etc. put forth. They create the tools that edit the C#, VB, SQL etc. All of these things and more are written using C++, Objective C, or just C, and in some cases they too use MFC. Most importantly what this strange beast does is keep the OS from Linux to Windows, devices from the Apple iPod to the Zune functioning so that individuals who want to write with higher level languages can interact with these OS's and devices. C++ Developers write the code the keeps the military functioning, the code for hardware that controls and move missiles around, and that monitors space travel. The .Net and java languages are not considered reliable enough, secure enough, or stable enough to do a lot of the development that occurs on these levels. (Read these language specifications). As far as detecting memory leaks, a C++ developer is able to manage memory on his own. He is the one that writes garbage collection routines for those who are less skilled an unable to manage their own memory. Yes we may have to track a memory leak, but we can also move into and write assembly language routines from our code and back out again. The routine that allow your editors to track memory leaks. This is just touching the surface. If you want control over the machine learn C++. As far as the comment about tracking down memory leaks, if all you can come up with is tracking memory leaks – put the keyboard down before you hurt yourself (Just kidding too). A C++ developer is a true developer. Those who write in the other languages I have mentioned are likewise developers and professionals. Each language serves a purpose, and is useable and honorable in its realm, just as C++ is.
modified on Monday, April 19, 2010 11:46 AM
-
Moving from C# to C++C++ From The Ground Up (Third Addition) by Herbert Schildt, Osborne Publications If you are developing for Windows, read up on MFC until you get board and then study with Win32 and Win64 API's. There are several API Bibles available - all read about he same.