You can create a managed C++ wrapper for your DLL or use COM or use interop
to import DLL functions.
In the latter two cases marshalling will be a big issue and you may have to
create manages structs that mimic the layout of your C++ structs.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Anthony" <(E-Mail Removed)> wrote in message
news:3B331D78-D960-448C-914A-(E-Mail Removed)...
> Hi,
> Is there any sample codes or documents about how to send and receive the
> messages between C++ and C# applications? For instance, I have a C++
> dialog
> application and C# dialog application running on same computer, how do I
> transfer data back and forth between these two?
> Thank you very much
> Best regards,
> Anthony