文件名称:NCDDE服务连接DDE封装的API,ddehelper
文件大小:7KB
文件格式:RAR
更新时间:2020-04-13 15:53:56
NCDDE dde
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);
【文件预览】:
DDEapi.cpp
DDEapi.h