470,815 Members | 1,471 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Managed Code and Unmanaged Code Inter-Process Communication for Wi

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
Jun 21 '06 #1
1 2039
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/Sho...69838&SiteID=1
http://forums.microsoft.com/MSDN/Sho...76830&SiteID=1

--
http://www.peterRitchie.com/
"Michael L" wrote:
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

Jun 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Eric Twietmeyer | last post: by
4 posts views Thread by repstat | last post: by
2 posts views Thread by Sandy | last post: by
12 posts views Thread by doug | last post: by
9 posts views Thread by Amit Dedhia | last post: by
25 posts views Thread by Koliber (js) | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.