invoking C# function from C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,


I have developed a COM component using C++. And I need to invoke some
functions in another DLL which is implemented in C#. I am wondering whether
there are any tutorials or samples of how to do this correctly and safely?

I have this question because I noticed that the data types in C++ and C# are
not the same -- how to make them compatible? This is the most of my concern.


thanks in advance,
George
 
A good link for C++ to C# data types is at:
http://www.codeproject.com/dotnet/Win32APICPlusPlustoDotNET.asp

You can also try:
http://msdn2.microsoft.com/en-us/library/ac7ay120(vs.71).aspx

Also, since these and others are included in our converter logic, you could
download the demo of our C++ to C# Converter at:
http://www.tangiblesoftwaresolution...r/Download_Demo_CPlus_to_CSharp_Converter.htm
--
David Anton
www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
 
Back
Top