C# and COM

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    C# and COM

    Hello,
    I have to create an interface to allow another application to communicate
    with ours. I'm thinking of adding a COM interface into our exe to allow this
    but I'm not sure this is the best way to go.

    The other application needs to be able to launch ours, send it some data and
    call some configuration methods.

    Any suggestions?

    Thanks,
    Joe


  • Jialiang Ge [MSFT]

    #2
    Re: C# and COM

    Hello Joe and Christopher,

    I agree with Christopher's idea. .NET Remoting can help us do the
    out-of-proc call from .NET to .NET. Another solution is to use DCOM.

    See how to write a DCOM server in C#:


    and how to consume the DCOM server in a C# client:


    Regards,
    Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
    Microsoft Online Community Support

    =============== =============== =============== ====
    Delighting our customers is our #1 priority. We welcome your comments and
    suggestions about how we can improve the support we provide to you. Please
    feel free to let my manager know what you think of the level of service
    provided. You can send feedback directly to my manager at:
    msdnmg@microsof t.com.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    =============== =============== =============== ====

    Comment

    Working...