Re: How to build + register COM objects when logged in as user?
From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 10/03/04
- Next message: Joe: "BackWeb Warning"
- Previous message: MOMS: "Content Advisor"
- In reply to: Riley DeWiley: "How to build + register COM objects when logged in as user?"
- Next in thread: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Reply: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Reply: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 2 Oct 2004 22:08:37 -0700
You have to change the registration script so it registers
your component under HKCU\SOFTWARE\Classes
instead of HKCR. This means it will only be useable under
Win2K and later (not Win9x/Me, nor NT4/3.5).
-- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: agnickolov@mvps.org MVP VC FAQ: http://www.mvps.org/vcfaq ===================================== "Riley DeWiley" <riley.dewiley@gmail.com> wrote in message news:10lu9egnt2felaf@corp.supernews.com... >I am developing a COM DLL in C++. At the tail end of my build cycle, the >IDE > tries to register my DLL. It is failing, reason is ACCESS_DENIED, which I > expect, because after running as Administrator for years, I have recently > adopted the principle of least-access, and now log in under a user > account. > When I install software, for example, I have to 'run-as' Administrator. > > I wish to be able register the objects from the IDE while obeying the > principle of least access. What is the easiest way to do this on a routine > basis? Ideally, I would not have to change my build process at all. > > Thanks in advance. > >
- Next message: Joe: "BackWeb Warning"
- Previous message: MOMS: "Content Advisor"
- In reply to: Riley DeWiley: "How to build + register COM objects when logged in as user?"
- Next in thread: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Reply: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Reply: Riley DeWiley: "Re: How to build + register COM objects when logged in as user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|