how to use C++ DLL in c#

  • Thread starter Thread starter eric
  • Start date Start date
E

eric

Hi,folks:
I have a class developed by vc++6.0 include .h .lib .dll.
can someone tell me how to use it in C#?
thank in adv

james
 
You can't directly use C++ classes from C#, you have to:
- wrap them in a managed class using MC++, or,
- expose your C++ classes as COM objects.

Willy.
 

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

Back
Top