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. Automatic instantiation of remote COM from other operating systems

Automatic instantiation of remote COM from other operating systems

Scheduled Pinned Locked Moved COM
comsysadminwindows-admin
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.
  • R Offline
    R Offline
    Raphael Amorim
    wrote on last edited by
    #1

    Hello all, I have a COM component on a remote server with no DllSurrogate = "" value set in the remote registry. So, the instantion could not be done in the server side only. I made a method to access the remote registry primitives, using the pipe \\PIPE\winreg and also using the rpc.rcacn_np transport. So, this way I'm able to modifying the registry remotely, putting the DllSurrogate="" and performing the COM instantiation. Everything is working fine, but now I must do all of this without file and print sharing, which means that I'll not be able to use the PIPE anymore. So I'm looking for some COM with DllSurrogate="" already enabled that expose some function to modify my component. Or some service working at port 135 or 445 with some exposed methods to do the same thing, this way I can access using the rpc.rcacn_ip_tcp. So, any ideas. Thanks in advance.

    Raphael Amorim Dantas Leite

    I 1 Reply Last reply
    0
    • R Raphael Amorim

      Hello all, I have a COM component on a remote server with no DllSurrogate = "" value set in the remote registry. So, the instantion could not be done in the server side only. I made a method to access the remote registry primitives, using the pipe \\PIPE\winreg and also using the rpc.rcacn_np transport. So, this way I'm able to modifying the registry remotely, putting the DllSurrogate="" and performing the COM instantiation. Everything is working fine, but now I must do all of this without file and print sharing, which means that I'll not be able to use the PIPE anymore. So I'm looking for some COM with DllSurrogate="" already enabled that expose some function to modify my component. Or some service working at port 135 or 445 with some exposed methods to do the same thing, this way I can access using the rpc.rcacn_ip_tcp. So, any ideas. Thanks in advance.

      Raphael Amorim Dantas Leite

      I Offline
      I Offline
      iserik
      wrote on last edited by
      #2

      Hello, In the case you described I prefer to use WMI (Windows Management Instrumentation). It's an ultimate tool for making a kind of administrative work both on a local and remote computer under Windows XP & 2000. WMI "System Registry Provider" gives a full control on registry DB. You have to have administrative rights to perform any registry write operations on a remote PC, of course. If you are interested in using WMI, write me, I may share a simple project with you as an example of administration via WMI. Regards, ISerik

      R 1 Reply Last reply
      0
      • I iserik

        Hello, In the case you described I prefer to use WMI (Windows Management Instrumentation). It's an ultimate tool for making a kind of administrative work both on a local and remote computer under Windows XP & 2000. WMI "System Registry Provider" gives a full control on registry DB. You have to have administrative rights to perform any registry write operations on a remote PC, of course. If you are interested in using WMI, write me, I may share a simple project with you as an example of administration via WMI. Regards, ISerik

        R Offline
        R Offline
        Raphael Amorim
        wrote on last edited by
        #3

        Using WMI from Linux? The only way is using the COM WBEM Scripting locator and it's not automated by default. We MUST change the registry like I said.

        Raphael Amorim Dantas Leite VC++, Java and C# programmer. Win32 and PocketPC enviroments

        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