delbert Harry
May 6th, 1999, 11:33 AM
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?
|
Click to See Complete Forum and Search --> : RegQueryValueEx delbert Harry May 6th, 1999, 11:33 AM 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 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 Same as de first reply, for the number error see "winerror.h" jdockman May 6th, 1999, 09:55 PM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |