Re: registration order of tlb, proxy/stub, exe
- From: khalprin <khalprin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Oct 2008 15:30:06 -0700
"Igor Tandetnik" wrote:
khalprin <khalprin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
The interfaces I'm testing are mostly 'get property' types so you're
right, the do very little work. I can't seem to rectify the order of
registration with the idea that the proxy/stub being last makes it
more efficient.
See if you can find correlation with this. Look in the registry under
HKCR\Interface\{Your Interface IID}\ProxyStubClsid32
If the default value of this key is
{00020424-0000-0000-C000-000000000046}, you are using universal (aka
TLB-driven) marshalling (the TypeLib subkey gives the LIBID of the type
library to use). Otherwise, it's the CLSID of the object implemented by
proxy/stub DLL.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Those keys:
HKCR\Interface\{Your Interface IID}\ProxyStubClsid32
HKCR\Interface\{Your Interface IID}\ProxyStubClsid32\TypeLib
don't change no matter what order I use to register.
The key:
HKCR\Interface\{Your Interface IID}\ProxyStubClsid32
is always {00020424-0000-0000-C000-000000000046}
and
HKCR\Interface\{Your Interface IID}\ProxyStubClsid32\TypeLib
is always the CLSID of the library block of the idl in my server executable.
I refreshed and closed/re-opened regedit while checking to be sure I wasn't
looking at stale values...
.
- References:
- registration order of tlb, proxy/stub, exe
- From: khalprin
- Re: registration order of tlb, proxy/stub, exe
- From: Igor Tandetnik
- Re: registration order of tlb, proxy/stub, exe
- From: khalprin
- Re: registration order of tlb, proxy/stub, exe
- From: Igor Tandetnik
- registration order of tlb, proxy/stub, exe
- Prev by Date: Re: registration order of tlb, proxy/stub, exe
- Next by Date: RE: out-of-proc activex and UAC
- Previous by thread: Re: registration order of tlb, proxy/stub, exe
- Next by thread: Re: registration order of tlb, proxy/stub, exe
- Index(es):
Relevant Pages
|