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. :wave:
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Arjay Search: Search took 1.23 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |