Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Using regsvr32 question

Received: by 10.68.129.169 with SMTP id nx9mr2362280pbb.2.1331132136992;
        Wed, 07 Mar 2012 06:55:36 -0800 (PST)
MIME-Version: 1.0
Path: h9ni50004pbe.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From: "Mayayana" <mayay...@invalid.nospam>
Newsgroups: comp.lang.basic.visual.misc
Subject: Re: Using regsvr32 question
Date: Wed, 7 Mar 2012 09:58:14 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <jj7st8$4nb$1@dont-email.me>
References: <jj6rk9$vj6$1@dont-email.me> <jj77ic$irb$1@speranza.aioe.org> <jj7a3o$thc$1@dont-email.me>
Injection-Date: Wed, 7 Mar 2012 14:55:36 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="hA0LZgtsTmFlvERssm/+Tg";
	logging-data="4843"; mail-complaints-to="ab...@eternal-september.org";	posting-account="U2FsdGVkX19JB3w+ovGkbknGBXp+9P4ZfloMZkzvY8Y="
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
Cancel-Lock: sha1:4Pq2y3Fr2C+Klc+C5xX2fpKZJX8=
X-Priority: 3
X-MSMail-Priority: Normal

| For example, the COMAddins loaded into my auto-instance of Excel where
| listed under HKLM. Any that were listed under HKCU weren't loaded. I'm
| trying to determine how the DLLs under HKLM got there...
|

  I never realized it was possible to register under HKCU. :)
Deanna's explanation makes sense to me. In general a
COM object is registered for use on the machine. That's
the main reason for having registration in the first place.
I have no ProgIDs at all under HKCU\Software\Classes\.
I've also written a number of DLLs in VB and none of them
registers under HKCU. And I don't see any Typelib key at
all under HKCU, which seems to indicate that nothing ever
has registered under HKCU.

   Out of curiosity, I wrote a short VBScript that creates
a dummy object:
  Set Obj = CreateObject("Slipshod.FileObject")
   MsgBox Obj.Something

  Running it with Regmon I saw WSH do 4 checks. It first
tried to open the HKCU key, then the HKLM key, then
repeated the same sequence. (This is on XP.) So it seems
to be feasible to register under HKCU, but very unusual.