Found this article and a similar question was aked on stackoverflow.com as well
http://www.codeproject.com/KB/miscctrl/AppControl.aspx
I figured a way to communicate between the control and the exe that it is hosting would be to use the link below
http://boycook.wordpress.com/2008/07/29/c-win32-messaging-with-sendmessage-and-wm_copydata/
However, SendMessage always returns 0. and none of my messages are recvd? how do i get this to work. I even tried PostMessage but to no avail.
尽管SendMessage / PostMessage对于将消息从一个应用程序发送到另一个应用程序非常方便,但最好还是使用事件在同一应用程序内进行通信。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.