Managed Code and Unmanaged Code Inter-Process Communication for Wi

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I have an ActiveX control that is hosted by a C# webbrowser control.
The activex is written in C++ and I need a way to communicate between the
activex and other c# applications or c++ applications for multithreading.
Can someone give me some hints?

Thanks in advance,

Michael L
 
You could use the PlatformSDK function SendMessage to send simple data back
and forth. Or, you could use shared memory and synchronization events to
synchronize access to the memory based on an event model of some sort.

There's at least a couple of threads on forums.microsoft.com/msdn that
discuss using shared memory between a native and a managed application:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=469838&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=476830&SiteID=1
 
Back
Top