Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #877
| From | Deanna Earley <dee.earley@icode.co.uk> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: Using regsvr32 question |
| Date | 2012-03-07 08:51 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jj77ic$irb$1@speranza.aioe.org> (permalink) |
| References | <jj6rk9$vj6$1@dont-email.me> |
On 07/03/2012 05:27, GS wrote: > Hi all, > > I recently ran into a situation where my VB6.exe encountered loaded COM > Addins in an automated instance of Excel. Whenever I registered > DLLs/OCXs with regsvr32 the entries would appear under HKCU. Typically, > COM Addins listed here do not load in auto-instances of their respective > MS Office host app. > > The question I have is why would some software use HKLM for their COM > Addins, and how would this be done since (by default) regsvr32 uses HKCU? > > Does regsvr32 support options as to what Registry hive is used? regsvr32 has no control over where the entries are placed, its sole job is to load the DLL and call its DLLRegisterServer function. What that does is entirely down to the author of the DLL. By convention, this is used to register a COM DLL and Most ONLY write to HKLM but some have special checks to register themselves to HKCU if they don't have access. You'll need to check with the authors to confirm what their DLL does. More details: http://blogs.msdn.com/b/oldnewthing/archive/2011/11/10/10235540.aspx -- Deanna Earley (dee.earley@icode.co.uk) i-Catcher Development Team http://www.icode.co.uk/icatcher/ iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.)
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Using regsvr32 question GS <gs@somewhere.net> - 2012-03-07 00:27 -0500
Re: Using regsvr32 question Deanna Earley <dee.earley@icode.co.uk> - 2012-03-07 08:51 +0000
Re: Using regsvr32 question GS <gs@somewhere.net> - 2012-03-07 04:34 -0500
Re: Using regsvr32 question Deanna Earley <dee.earley@icode.co.uk> - 2012-03-07 10:24 +0000
Re: Using regsvr32 question Deanna Earley <dee.earley@icode.co.uk> - 2012-03-07 10:31 +0000
Re: Using regsvr32 question "Mayayana" <mayayana@invalid.nospam> - 2012-03-07 09:58 -0500
Re: Using regsvr32 question GS <gs@somewhere.net> - 2012-03-07 18:52 -0500
Re: Using regsvr32 question "Farnsworth" <nospam@nospam.com> - 2012-03-07 22:24 -0500
Re: Using regsvr32 question GS <gs@somewhere.net> - 2012-03-07 23:19 -0500
Re: Using regsvr32 question "Mayayana" <mayayana@invalid.nospam> - 2012-03-08 08:53 -0500
Re: Using regsvr32 question GS <gs@somewhere.net> - 2012-03-08 09:33 -0500
csiph-web