摘要: char szFilePath[MAX_PATH];GetModuleFileName(NULL,szFilePath,MAX_PATH-1);string strFilePath=szFilePath;int nPos=strFilePath.rfind('//');strFilePath=strFilePath.substr(0,nPos+1);其中 DWORD WINAPI GetModuleFileName( __in_optHMODULE hModule, __outLPTSTR lpFilename, __inDWORD nSize); 阅读全文
posted @ 2012-05-08 10:08 soulmate119 阅读(161) 评论(0) 推荐(0) 编辑