Can i use Visual C++ Net dll to native c, c++

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bGlnaHRkb2xs?=

    #1

    Can i use Visual C++ Net dll to native c, c++

    Hello everyone

    if i make a dll using Visual C++ Net,

    then can i use the dll in native c, c++?

    i want to make a program like below
    1.i want to make a server using C# with Net Remote(Server Side)
    2.i want to make a client using Visual C++ Net dll with Net Remote(Client
    Side)
    And this file will be dll.
    3.i will import the dll to native dll.

    Is it possible?
    if it is possible, could you show me some example?
    best regards.

  • Ben Voigt [C++ MVP]

    #2
    Re: Can i use Visual C++ Net dll to native c, c++

    lightdoll wrote:
    Hello everyone
    >
    if i make a dll using Visual C++ Net,
    >
    then can i use the dll in native c, c++?
    >
    i want to make a program like below
    1.i want to make a server using C# with Net Remote(Server Side)
    2.i want to make a client using Visual C++ Net dll with Net
    Remote(Client Side)
    And this file will be dll.
    3.i will import the dll to native dll.
    >
    Is it possible?
    If you use COM.

    However, it's not really the best idea, you will soon have issues with
    trying to load multiple different versions of the CLR.
    if it is possible, could you show me some example?
    best regards.

    Comment

    Working...