CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Registry and NT

  1. #1
    Join Date
    Oct 1999
    Location
    Ohio, USA
    Posts
    1

    Registry and NT

    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

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Registry and NT

    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...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured