|
-
Sep 27th, 2001, 10:20 AM
#1
Thread Starter
Lively Member
Using RegOpenKeyEx
I have a question about finding if a specified app is installed on a machine or not.
I use:
RegOpenKeyEx(HKEY_CURRENT_USER, SUBKEYTOPATH, &H0, KEY_READ, dwKey) and on most machines get a return code of , which is fine, but on some machines I get a return code = 2 even if the specified app is installed on the machine. Any ideas on what a return code of 2 means? Any ideas on how do do it better?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|