want to use VC++ class in C#
-
Hello I want to use some VC++ classes in C#... is it possible ??? If it is possible, then how ??? Thanks
Devesh Mishra
-
Hello I want to use some VC++ classes in C#... is it possible ??? If it is possible, then how ??? Thanks
Devesh Mishra
If you rewrite them as C++/CLI classes, it is. Otherwise, you have to convert to C#, or put them in a dll and you can then use methods in the dll, but not classes as such, via p/invoke.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hello I want to use some VC++ classes in C#... is it possible ??? If it is possible, then how ??? Thanks
Devesh Mishra
Hi Try the following link on how to marshal c++ class We have a similar concept that works at production environment http://www.codeproject.com/csharp/marshalCPPclass.asp