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. 2 questions about COM/DCOM in ATL 3.0

2 questions about COM/DCOM in ATL 3.0

Scheduled Pinned Locked Moved COM
questioncsharpc++sharepointvisual-studio
2 Posts 1 Posters 2 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    1. How can I create COM - server in ATL 3.0 (Visual Studio 6) for common clients resources,for example I want to sum and save data received from any clients? 2. I create DCOM with ATL 3.0 but it begins to work only if I make mount from client-machine (WINNT 4.0 SP. 5) on server-machine (WINNT 4.0 SP. 5) and after that run server.exe -regserver on client-machine. I think it is not good way and may be anybody has other decision? Thanks in advance O.K.

    L 1 Reply Last reply
    0
    • L Lost User

      1. How can I create COM - server in ATL 3.0 (Visual Studio 6) for common clients resources,for example I want to sum and save data received from any clients? 2. I create DCOM with ATL 3.0 but it begins to work only if I make mount from client-machine (WINNT 4.0 SP. 5) on server-machine (WINNT 4.0 SP. 5) and after that run server.exe -regserver on client-machine. I think it is not good way and may be anybody has other decision? Thanks in advance O.K.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      1. It is needed in Interface to add DECLARE_CLASSFACTORY_SINGLETON(). 2. Instead of mount you may to register server on the client-machine in the manner: \\server-computer-name\drive\server.exe - regserver It is not good also, but you must not make mount.

      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