afikim
asked on
RegQueryValueEx causes Error 234
Hello
I have this code in two programs. In one program it works perfectly.
On the other program (same machine) the result is 234 at the first reading. Keeping the program turned on and quering the same function will not return an error and read the details as needed.
Any comments?
Thanks
Wli
I have this code in two programs. In one program it works perfectly.
On the other program (same machine) the result is 234 at the first reading. Keeping the program turned on and quering the same function will not return an error and read the details as needed.
Any comments?
Thanks
Wli
templong = RegQueryValueEx(hKey,
TEXT("MyEntry"),
NULL,
NULL,
(LPBYTE)&MyVariable,
&lBytesRead) ;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Zoppo
How did I forget that???
Thanks for your help
Eli