C++ dll

M

meipv

I am writing a windows application in .NET version 2000. My application
will link to a dll that is written in C++. Would it be easier to program in
C++.NET or C#.NET or VB? My choice resides on the one that would be easiest
to create windows applications.
 
J

johan

If it is a COM DLL then it will be easy using C#. If it
is a normal C++ DLL you won't be able to use it directly
in C#. If you want to use C# you will have to wrap it in
a C++ COM object.
 
S

Shawn Farkas [MS]

If you want to use C# you will have to wrap it in
a C++ COM object.

Or you could use Managed C++ to write a .Net wrapper class around it,
without going through COM.

-Shawn
 

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