Hi wiz,
No it never gets passed this line anyway:
if (lRetVal === ERROR_SUCCESS)
Edit:
I overlooked the last sentence:
quote:
The Registry_SetKeyValue() function takes the key type as an enumeration (a variable name), whereas you have defined them as strings. Try it without the single quotes.
I'll try that, ty!
Hi whiz,
It seems that did the trick, thanks!