registration order of tlb, proxy/stub, exe

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.



Relevant Pages

  • Re: computer browser service wont start
    ... I've noticed that dnsApi is sometimes one of the things that starts early before everything it needs is actually working, e.g. the TCP/IP and network stack. ... In the situations I've seen the Event Log entry from dnsApi that you report, the computer did successfully register itself later. ... This assumes that the targetted DNS server can accept Dynamic registrations and the computer doing the dynamic registration is permitted to do so. ...
    (microsoft.public.windows.server.general)
  • ASP: Get user login ID
    ... But when we register the dll on our web ... server, and call it from our ASP code, it generates an error. ... Dim lngCharsReturned As Long ...
    (microsoft.public.inetserver.iis.security)
  • Re: A record dynamic DNS registration failing depending on DHCP
    ... for clients. ... so I can assume that your server is using the default root hints. ... are only being registered in the Reverse Lookup Zone. ... recieved their IP from another DHCP server register their name under the ...
    (microsoft.public.windows.server.dns)
  • Re: Server-to-Server Remoting
    ... You can't send an object from server b that you got at ... unncessary as your making a client call and there is already a channel ... >My problem is that I can't figure out how to register and instantiate ... which is a subclass of BaseDataService called ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Boot Prbs in Win2K
    ... The server did not register with DCOM ... No attempts to start the service have been made since the last boot. ...
    (microsoft.public.win2000.setup)