Click to See Complete Forum and Search --> : Registry and NT


kmurrey
October 4th, 1999, 10:46 PM
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

Lothar Haensler
October 5th, 1999, 03:25 AM
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...