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,