How to communicate with a c# and a c++ application?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,

I want to send messages between a c# application and a c++ application (visual c++ 6.0). Ive been reading articles on this topic on general and so far only managed to come across those that discussed mechanisms such as remoting and named pipes (both seem to be useful if both apps were built using .net)

Is it possible to use windows messaging to communicate between a c# and a c++ application? Also what is the best way to send messages/data across the two applications? Ive send data using memory mapped files between two c++ applications before, but not sure how to receive/send data from a c# application when using windows messaging.

Can anyone provide me with some sample code snippets or some articles discussing how to send data+messages from a c# application to another process using windows messaging?

Thanks in advance!

View the full article
 
Back
Top