Calling C++.NET code from C#.NET code

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

    #1

    Calling C++.NET code from C#.NET code

    I have source code for a 3rd party product. The product is written for traditional C++. There
    was a VS .NET Solution File that was provided for compiling the DLL.

    I have compiled the code using the VS .NET 2003 C++.NET and am now trying to build some
    demos to test the features.

    My question is, How do I call the methods in the DLL and how do I know what namespace
    to use with the the "using" statement inside of a C# project?

    Thanks,
    Dave
  • David Elliott

    #2
    Re: Calling C++.NET code from C#.NET code

    It looks like I will be using the DLL in the traditional C++ format (i.e. Compiled with VC++ 6.0)
    So I have an example for future reference if anyone has an example of doing it both ways
    (i.e. calling C++ and C++.NET from C#.NET), I would appreciate it.

    Thanks,
    Dave


    On Fri, 31 Oct 2003 16:06:56 -0500, David Elliott <delliott@blues hoe.com> wrote:
    [color=blue]
    >I have source code for a 3rd party product. The product is written for traditional C++. There
    >was a VS .NET Solution File that was provided for compiling the DLL.
    >
    >I have compiled the code using the VS .NET 2003 C++.NET and am now trying to build some
    >demos to test the features.
    >
    >My question is, How do I call the methods in the DLL and how do I know what namespace
    >to use with the the "using" statement inside of a C# project?
    >
    >Thanks,
    >Dave[/color]

    Comment

    Working...