http://www.codeguru.com/win32/ipcdemo.shtml
Inter-Process Communication Using WM_COPYDATA - Rick York (1999/02/06)
到下面这个位置自己随便选吧MSDN Library
--Platform SDK Documentation
----Base Services
------Interprocess Communications
Inter-Process Communication Using WM_COPYDATA - Rick York (1999/02/06)
到下面这个位置自己随便选吧MSDN Library
--Platform SDK Documentation
----Base Services
------Interprocess Communications
and set a global value
and
EnterCriticalSection()
do works
LeaveCriticalSection()see msdn :)
利用windows本身的窗口消息机制
实现同步
用WM_COPYDATA传递数据
PostThreadMessage
WaitMessage
有人以前用过吗?