Managed Code and Unmanaged Code Inter-Process Communication for Wi

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top