|
-
August 29th, 2001, 04:35 AM
#1
Setting Registry Value
Hi All,
I'm trying to set a DWORD value in the Win2k System Registry using RegSetValueExA. But it is giving an Error 998.
Can anyone tell me what am I doing wrong?
Here's the function call :
dim setval as long
setval = 10
RegFuncRetval = RegSetValueExA _
(phk, _
"Status_Code", 0&, REG_DWORD, _
setval, 4)
Here phk has been obtained from an earlier call to RegOpenKeyExA
Please help.
Thanks.
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
|