Re: How to build + register COM objects when logged in as user?
From: Alexander Nickolov (agnickolov_at_mvps.org)
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: firstname.lastname@example.org MVP VC FAQ: http://www.mvps.org/vcfaq ===================================== "Riley DeWiley" <email@example.com> wrote in message news:firstname.lastname@example.org... >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. > >