Board index » delphi » Multi-Threaded COM shutting down EXE

Multi-Threaded COM shutting down EXE

Hello all,

I am experiencing some problems with a multi-threaded COM server written in
D3 C/S.  When running the COM for the first time, it runs fine, but will
not allow any more concurrent instances, eventhough I am using Borland's
(Inprise's) ThreadClassFactory Class.  Furthermore, sometimes the COM
closes down my EXE client!!!  Can anybody explain :  1.  The right way to
use the ThreadedCLassFactory, and 2.  Why a COM object could possibly close
down its client ?

Any help greatly appreciated!!

Regards,

Yuval

 

Re:Multi-Threaded COM shutting down EXE


Hello,

If you can show the source code, maybe we could figure it out.

--
Binh Ly
Brickhouse Data Systems, Inc.
http://www.brickhouse.com

Quote
Yuval Mazor wrote in message <01bda9d9$a90f6e00$5a875ac2@mazor>...
>Hello all,

>I am experiencing some problems with a multi-threaded COM server written in
>D3 C/S.  When running the COM for the first time, it runs fine, but will
>not allow any more concurrent instances, eventhough I am using Borland's
>(Inprise's) ThreadClassFactory Class.  Furthermore, sometimes the COM
>closes down my EXE client!!!  Can anybody explain :  1.  The right way to
>use the ThreadedCLassFactory, and 2.  Why a COM object could possibly close
>down its client ?

>Any help greatly appreciated!!

>Regards,

>Yuval

Other Threads