Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Using an existing (connecting to a running) COM server

Help
2013-11-01
2013-11-01
  • Hi! I wonder if anyone could help me how I can use j-Interop to connect to an existing instance of an application. So far, I have only been able to create a new instance. Can anyone provide me a code-example of how to connect to a remote application? (I am using DCOM.)

     
    • Hi,

      Do you mean to say something like GetObject() of VB. If you search on
      "monikers" on this forum, you will find some information. They are not
      supported out of the box, but one can implement it.

      best regards,
      Vikram

      On Fri, Nov 1, 2013 at 6:30 PM, Gideon Zweijtzer gideonz@users.sf.netwrote:

      Hi! I wonder if anyone could help me how I can use j-Interop to connect to
      an existing instance of an application. So far, I have only been able to
      create a new instance. Can anyone provide me a code-example of how to
      connect to a remote application? (I am using DCOM.)


      Using an existing (connecting to a running) COM serverhttps://sourceforge.net/p/j-interop/discussion/600730/thread/0291a09c/?limit=25#722b

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/j-interop/discussion/600730/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      The Mind is a place of its own. It can make a heaven out of hell or a hell
      out of heaven. Attitude is everything. No matter how adverse conditions
      maybe, one has the capacity to turn things around by one's Determination,
      Perseverance and Hardwork.

      John Milton
      (Paradise Lost)