Sorry, RegOpenKeyEx() does NOT create the key if it does not already exist. The required function is RegCreateKeyEx(), which will create it if it does not exist or just open it if it does exist.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Using registry...Threaded View
|
Click Here to Expand Forum to Full Width |