2016年8月24日

char*和CStringA互转

摘要: char*->CStringA char* ch1 = "中文测试123"; CStringA str(ch1); CStringA->char* char* ch2 = new char[str.GetLength()+1]; memset(ch2, 0, str.GetLength()+1); 阅读全文

posted @ 2016-08-24 09:24 lpx15312 阅读(1191) 评论(0) 推荐(0)

动态加载dll

摘要: extern "C" MMUPDATENOTIFY_IMPEXP bool _cdecl NotifyThrift(char* chThriftIp, char* chPor) HINSTANCE hInst; CString strPath = _T("E:\\XXX\\MmUpdateNotif 阅读全文

posted @ 2016-08-24 09:14 lpx15312 阅读(227) 评论(0) 推荐(0)

导航