|
-
July 21st, 1999, 04:55 AM
#1
VB - making API calls
I am using API calls which modify Registry with the following functions,
RegSetValueEx,
RegQueryValueEx,
RegOpenKeyEx,
RegCloseKey
I am working on VB 6.0 in 95 platform and the program works fine.
When I run the exe on Windows NT i can open the key and view the values but not update the values.
Can anybody help me. My project is stuck up because of this.
-
July 21st, 1999, 06:43 AM
#2
Re: VB - making API calls
make sure you specify the correct value for the samDesired in your RegOpenKeyEx call (KEY_WRITE).
Also, check the return code of all API calls and call FormatMessage to get a readable explanation of the error.
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
|