Managed C++: Read and Write Registry Keys and Values
By Tom Archer Programmatically accessing the Windows registry has always been a bit of a convoluted task. For this reason, a myriad C++ classes have been created over the years to enable easier and more intuitive access to the registry from Windows applications. Thankfully, the task of reading and writing registry keys and values is monumentally easier with the .NET framework. This article illustrates the following common registry tasks ( Figure 1 shows the mixed-mode MFC/.NET demo...