Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win2K Registry API Calls

Status
Not open for further replies.

930driver

Programmer
Aug 21, 2001
388
US
When I use API calls from advapi32.dll to read/write the registry under Win98 all is good.

When I run the same code under Win2K I get some strange results. If I am logged on as Administrator the functions work. If I am logged on as a Power User the functions fail even though I can open regedit and update to my heart's content. So it doesn't seem to be a permissions problem.

Has anyone encountered this? Does anyone have an explanation/solution?

I fully understand API calls and there is nothing out of the ordinary in my code, however if someone wants to see it I'll be happy to post it. "The Key, The Whole Key, and Nothing But The Key, So Help Me Codd!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top