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!"
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!"