Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the lightest IPC solution between native C/C++ and C# (.NET)?

I have a native C++ Visual Studio 2010 solution and I would like to send data to a .NET app (C# WPF) Is there any way to do this with a few line of C/C++ code? I do not want to use external dependencies on C/C++ side. Is there any sample code out there about this?

More info: The C/C++ native app is really an npapi dll which loads into chrome.exe process. I don't think this is important, pls confirm.

like image 890
g.pickardou Avatar asked Jan 15 '13 21:01

g.pickardou


1 Answers

It sounds like you could use named pipes to communicate between the processes.

This question should help to point you in the right direction.

like image 122
Adam Maras Avatar answered Oct 01 '22 18:10

Adam Maras