I have a friend of mine writing a screen saver for me. We can write the registry to Windows 95/98, but when we try to write the registry to Windows NT 4.0 it fails. Does anyone know the correct syntax for this?
Keith Murrey
Printable View
I have a friend of mine writing a screen saver for me. We can write the registry to Windows 95/98, but when we try to write the registry to Windows NT 4.0 it fails. Does anyone know the correct syntax for this?
Keith Murrey
could be a security issue.
Be sure to check the Return code from RegSetValueEx and get the true system error text from FormatMessage to see the reason for the failure.
Also, be sure to specify a security attribute like KEY_WRITE...