1. 首页
  2. 编程语言
  3. C++ 
  4. NCDDE服务连接DDE封装的API,ddehelper

NCDDE服务连接DDE封装的API,ddehelper

上传者: 2018-12-21 12:56:35上传 RAR文件 6.92KB 热度 27次
NCDDE服务连接DDE封装的API,ddehelper 使用c++语言 int GetData(LPSTR lpszDataName,std::string & data); //HDDEDATA CALLBACK DDECallback(UINT uType, UINT uFmt, HCONV hconv, HSZ hszTopic, HSZ hszItem, HDDEDATA hdata, DWORD dwData1, DWORD dwData2); static HDDEDATA CALLBACK DDEMyCallback(UINT uType, UINT uFmt, HCONV hconv, HSZ hszTopic, HSZ hszItem, HDDEDATA hdata, DWORD dwData1, DWORD dwData2); //int ExecCmd(LPSTR app, LPSTR lpszCmd); PTSTR GetTextData( HDDEDATA hData) ; std::string DDERequest(std::string item); void DDEAyncExecute(DW ORD idInst, char* szCommand); void DDEPoke(DWORD idInst, char* szItem, char* szData); std::string DDEErrorMessage(UINT err); std::string DdeAyncRequest(std::string item); int DDEAdapter::TryRequest(std::string item, int format, int timeout, std::string &data);
下载地址
用户评论
码姐姐匿名网友 2018-12-21 12:56:35

不太会使用,哎。。。