Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Multiple instances of ole server (http://www.go4expert.com/forums/multiple-instances-ole-server-t12201/)

painulyarun 17Jul2008 21:30

Multiple instances of ole server

I am using VB application as OLE Client (VB form with ole container) and OLE server (out-process - exe) as VC++ ATL (exe) application. OLE server is REGCLS_SINGLEUSE. For each OLE client, OLE server instacne is getting launched and client requests are working fine. The problem is, after sometime (sporadic) second OLE server getting launched.

What i am expecting is once the OLE Server is instantiated for OLE client, it should be there until unless OLE Client is not shutdown and there should be only one OLE Server instance running for a each OLE client.

Please suggest what could be the problem. thanks for ur help.

~ Arun

All times are GMT +5.5. The time now is 15:40.