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(DWORD 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);
2019-12-21 19:37:39 7KB NCDDE dde
1