Re: How to build + register COM objects when logged in as user?

From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 10/03/04


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.
>
> 


Relevant Pages

  • VIA IDE performance under 2.6.0-test7/8?
    ... Am having trouble getting decent IDE performance from the 2.6.0-test8 kernel ... BM IDE Status Register Read Retry: ... Transfer Mode: UDMA PIO PIO PIO ... # ACPI Support ...
    (Linux-Kernel)
  • [git patches] IDE updates part #1
    ... ide: ... fix register loading order when issuing packet command ... make 'extra' field in struct ide_port_info u8 ...
    (Linux-Kernel)
  • Re: Proposal: Using unregistered objects. Removing restriction from IDE.0
    ... using unregistered components in IDE would mean that IDE would have ... > You can derive a new component type and register it. ... > var Accept:Boolean); ... property FilterParam: TFilterParam read getFilterParam ...
    (borland.public.delphi.ide)
  • [git pull] IDE fixes (updated)
    ... from David Brownell and a little CodingStyle fixup. ... I also updated MAINTAINERS file to reflect conversion of the IDE tree ... MISCCTL Miscellaneous Conrol Register ...
    (Linux-Kernel)
  • How to build + register COM objects when logged in as user?
    ... I am developing a COM DLL in C++. ... At the tail end of my build cycle, the IDE ... adopted the principle of least-access, and now log in under a user account. ... I wish to be able register the objects from the IDE while obeying the ...
    (microsoft.public.vc.atl)