网站首页
编程语言
数据库
系统相关
其他分享
编程问答
COPYDATA
2024-09-12
使用WM_COPYDATA实现进程间通信
发送端LRESULTcopyData;//copyDataResulthasvaluereturnedbyotherappCWnd*pOtherWnd=CWnd::FindWindow(NULL,_T("窗体名"));CStringstrData;strData.Format(L"%.1lf",tickdata);if(pOtherWnd){ COPYDATASTRUCTcpd;//上面提到的结构体 cpd.