Instead of using the raw registry api's, just use the ATL CRegKey class and let it take care of closing handles for you.
No charge for this tip-of-the-day.
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Results 16 to 16 of 16
Thread: CreateInstance fails on xp
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!