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

L

lightdoll

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.
 
B

Ben Voigt [C++ MVP]

lightdoll said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top