Re: registration order of tlb, proxy/stub, exe

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • F7 rebuilds nearly everything; how to handle generated files?
    ... Usually I have one project defining the interfaces and building the proxy/stub DLL, and several other projects using the header files built in the proxy/stub project. ...
    (microsoft.public.vstudio.general)
  • Re: when to deploy the proxy/stub dll
    ... "George Tihenea" wrote in message ... > I have a COM objected created with ATL 7 and it uses attributes. ... > In that case the proxy/stub cannot be merged into the main dll. ... under what circumstances the proxy/stub dll should be ...
    (microsoft.public.vc.atl)