PDA

You are currently viewing a search engine-friendly (archive) version of this page.

View Full Version : Deleting mutiple instances of COM object


Ebin
January 17, 2002, 05:33 am
We have implemented a com client in VC++ and it should communicate with server that

developed in Delphi(.dll).

The Scenario is as folows
-------------------------------------

A button click on com client(vc) will invoke the com server (Delphi interface)(dialog

based).
which will display a dialog were user can interact.Thus by the button click on VC

client(dialog based) can invok multiple instances of delphi server.


Now we need to delete or close all the instances of com server with a single click in vc

client (com client)
how it is possible ?.

Thanks in Advance
eby

Tonker
January 30, 2002, 08:50 pm
Hi Ebin,

Sorry for the delay. I'm afraid I don't know much about COM. Hopefully someone else has experience with this, though.

Welcome to HFT. :)

MikeFoster
February 12, 2002, 02:38 pm
I don't know much about this either - but I know that an OPC server using DCOM will automatically terminate when all clients end their connections. Will your COM server do this?