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. Creating Multiple instances for com object problem

Creating Multiple instances for com object problem

Scheduled Pinned Locked Moved COM
comhelptutorial
2 Posts 2 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.
  • A Offline
    A Offline
    Ash_VCPP
    wrote on last edited by
    #1

    Hi All, I am using one com dll and have multiple clients on the same machine which are creating pointers for same interface, so is there can be any conflict. Example: SomeComComponentLib::IsomeInterface objInterfaceptr; .....create instance Now all the client applications are using objInterfaceptr in same way...Please provide me some suggestion to avoid conflict.

    Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

    K 1 Reply Last reply
    0
    • A Ash_VCPP

      Hi All, I am using one com dll and have multiple clients on the same machine which are creating pointers for same interface, so is there can be any conflict. Example: SomeComComponentLib::IsomeInterface objInterfaceptr; .....create instance Now all the client applications are using objInterfaceptr in same way...Please provide me some suggestion to avoid conflict.

      Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

      K Offline
      K Offline
      KingsGambit
      wrote on last edited by
      #2

      I guess there won't be any conflicts as COM components are not confined to a single process.

      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