Cannot read from registry - HKEY_CLASSES_ROOT if not running in Administrator Mode

Posted by Phillip Roux on Stack Overflow See other posts from Stack Overflow or by Phillip Roux
Published on 2010-06-18T02:05:29Z Indexed on 2010/06/18 2:13 UTC
Read the original article Hit count: 385

Filed under:
|
|

I cannot read from the registry unless I run my application in administrator mode. I am building a preview handler, using the IPreviewHandler interface, and I require GUIDs for file types located in HKEY_CLASSES_ROOT.

How can I access this information without elevating my application to adminstrator. I am using Delphi but happy for any sample code.

Thanks, Phillip

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about delphi