Deleting mutiple instances of COM object
-
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
-
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
Hello Eby, What kind of server is it? (IN/OUT of process) Can you provide more details? Regards, /_henrik Henrik Sternberg, Consultant Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
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
Hi, Since the Client invokes the server application, u could have a the interface pointers stored in a list and close all of them when ever u want to. But this sounds probably too easy or may be i am not aware of any additional details where u r facing problems but from ur q's these should work. regards, Prem