[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

invoking C# function from C++

george

7/31/2007 6:48:00 AM

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
2 Answers

george

8/2/2007 1:04:00 PM

0

Hi carl_bevil,

"carl_bevil@yahoo.com" wrote:

> Try these:
>
> http://msdn2.microsoft.com/en-us/library/zsf...
> http://msdn.microsoft.com/msdnmag/issues/...
> http://msdn2.microsoft.com/en-us/librar...(VS.80).aspx
> http://www.codeproject.com/csharp/EssentialP...
>
> Does that give you what you need?
>
>
>

Good reference!


regards,
George