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. How to register a proxy/stub DLL on the client?

How to register a proxy/stub DLL on the client?

Scheduled Pinned Locked Moved COM
questionc++sysadmintutorial
3 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.
  • P Offline
    P Offline
    pelos
    wrote on last edited by
    #1

    hi! I have developed a DCOM component server with ATL but now, how can i registeter it on a client? Thanks in advance.

    P 1 Reply Last reply
    0
    • P pelos

      hi! I have developed a DCOM component server with ATL but now, how can i registeter it on a client? Thanks in advance.

      P Offline
      P Offline
      pelos
      wrote on last edited by
      #2

      hi! I know yet how to register the DLL. If there is somebody with this problem this is a very little tuto: On the server machine 1.- register the server program: c:\> remoteServer -regserver where remoteServer is the name of the EXE server. 2.- register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll On the cliente machine 1.- Copy RemoteServerps.dll on the client machine 2.- Register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll ok, with these steps my DCOM application runs ok but i'm not sure if is this the best way to do the registration. Are there any other possibilities ? thank you in advance!!

      N 1 Reply Last reply
      0
      • P pelos

        hi! I know yet how to register the DLL. If there is somebody with this problem this is a very little tuto: On the server machine 1.- register the server program: c:\> remoteServer -regserver where remoteServer is the name of the EXE server. 2.- register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll On the cliente machine 1.- Copy RemoteServerps.dll on the client machine 2.- Register the proxy/stub DLL: c:\> REGSVR32 remoteServerps.dll ok, with these steps my DCOM application runs ok but i'm not sure if is this the best way to do the registration. Are there any other possibilities ? thank you in advance!!

        N Offline
        N Offline
        Nissim Salomon
        wrote on last edited by
        #3

        Hi 1.Register your component under the component services (MTS) 2.Use the export operation in order to create proxy\stub setup file 3.Install the file in the client machine

        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