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 1 to 15 of 16
Thread: CreateInstance fails on xp
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!