C++ and C# communication

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

    #1

    C++ and C# communication

    Dear Friends,

    I need communicate C++ methods into C# Program.If
    anyone knows the sample code or Links.... PLease let me know...

    Thanks,
    Dev


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: C++ and C# communication

    Dev,

    What do you mean you need to communicate C++ methods in a C# program?
    If you mean that you have to call C++ classes from C#, then you will either
    have to use Managed Extensions to C++ to wrap your C++ classes in .NET
    classes, or you will have to expose your C++ classes as COM components and
    then import them into .NET.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nicholas.paldin o@exisconsultin g.com

    "Dev" <rajan_sr99@hot mail.com> wrote in message
    news:%23Ta4zqiS DHA.1868@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > Dear Friends,
    >
    > I need communicate C++ methods into C# Program.If
    > anyone knows the sample code or Links.... PLease let me know...
    >
    > Thanks,
    > Dev
    >
    >[/color]


    Comment

    Working...