WM_COPYDATA or Shared Data Segment
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Your opinion please. I want to create a menu system. In addition to starting and stopping apps, I want the menu to display what view each app is on. In this example http://www.codeproject.com/threads/sendmsg.asp, Martin-Pierre Frenette shows how to pass data from one app to another. He uses the WM_COPYDATA. In this example http://www.codeproject.com/dll/data\_seg\_share.asp, Phil Mcgahan shows how to do a similar thing using PostMessage and a shared data segment. I have a lot of C experience, but only a few months of Visual C++. If you have experience in these types of matters, would you please express the pros and cons of each to me. The basic question is WM_COPYDATA verses Shared Data Segment. Thank you.