|
-
May 6th, 1999, 11:33 AM
#1
RegQueryValueEx
I am trying to read information from the registry using [RegQueryValueEx]. I am getting error numbers, but I don't know what they mean how can I find out what they mean and what I am doing wrong?
-
May 6th, 1999, 11:50 AM
#2
Re: RegQueryValueEx
I don't know what operating system you are using
but if your RegOpenKeyEx returns non error
All parameters most be fill for Windows 95 but not with NULL or "".
-
May 6th, 1999, 11:54 AM
#3
Re: RegQueryValueEx
Same as de first reply, for the number error see "winerror.h"
-
May 6th, 1999, 09:55 PM
#4
Re: RegQueryValueEx
If you want to see the system message that corresponds to the return value, use the FormatMessage function. Make sure you use the FORMAT_MESSAGE_FROM_SYSTEM flag. This is a standard API call that is pretty useful if you need to display the same error message Windows would.
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
|