C++ dll

  • Thread starter Thread starter meipv
  • Start date Start date
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.
 
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.
 
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
 
Back
Top