registration order of tlb, proxy/stub, exe
- From: khalprin <khalprin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Oct 2008 13:43:02 -0700
I have a win32 process that is a COM server. It has a proxy/stub dll and also
imports interface defintions from a type library. I have a test client
application which uses some of the interfaces to retrieve configuration data
from the COM server. The test consists of a loop which retrieves the
configuration data a few thousand times. The order in which I register the
server executable, proxy/stub dll, and type library hugely affects the time
in which the client can complete the test loops. In some scenarios, the test
can complete in 3 seconds. In other scenarios, the test completes in 90
seconds. I've run this test after each combination of the order in which I
can register the three. It appears that when the server executable is
registered before the type library, the result is the 3 second test time.
When the server executable is registered after the type library, the result
is the 90 second test time.
So...what's going on here, and can I simplify the registration process?
Thanks
.
- Follow-Ups:
- Re: registration order of tlb, proxy/stub, exe
- From: Igor Tandetnik
- Re: registration order of tlb, proxy/stub, exe
- Prev by Date: Making HTTPS call from a BHO
- Next by Date: Re: registration order of tlb, proxy/stub, exe
- Previous by thread: Making HTTPS call from a BHO
- Next by thread: Re: registration order of tlb, proxy/stub, exe
- Index(es):
Relevant Pages
|