Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Deleting mutiple instances of COM object

Deleting mutiple instances of COM object

Scheduled Pinned Locked Moved COM
c++delphicomsysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Ebin
    wrote on last edited by
    #1

    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

    H P 2 Replies Last reply
    0
    • E Ebin

      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

      H Offline
      H Offline
      Henrik Sternberg
      wrote on last edited by
      #2

      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)

      1 Reply Last reply
      0
      • E Ebin

        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

        P Offline
        P Offline
        Prem Kumar
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups