Looking for a working example using API RegLoadKey and RegUnloadKey.

FaaGaaWee used Ask the Experts™
I'm looking for a working example of code that uses the RegLoadkey and RegUnloadKey APIs. I keep getting hung up on a 1314 error when I attempt to load a user ntuser.dat file. I copied the ntuser.dat file into a directory on my machine and I'm logged in as the administrator. I can load this copy of the ntuser.dat file using RegEdt32 so I don't think it's really a permissions problem. Thanks for any help anyone can give.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial