摘要: 发送方: #region 向进程发送消息 const int WM_COPYDATA = 0x004A; [DllImport("User32.dll", EntryPoint = "SendMessage")] &... 阅读全文
posted @ 2011-06-29 19:41 奎宇工作室 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 两个进程FF.exe与JJ.EXE分别是发送方和接受方发送方:#region 向进程发送消息 const int WM_COPYDATA = 0x004A; [DllImport("User32.dll", EntryPoint = "SendMessage")] private static extern int SendMessage( int hWnd, // handle to destination window int Msg, // message int wParam, // first message parameter ref COP 阅读全文
posted @ 2011-06-29 11:57 奎宇工作室 阅读(786) 评论(0) 推荐(2) 编辑