// get exe file path
char cFileName[MAX_PATH];
GetModuleFileName(NULL,cFileName,MAX_PATH);
CString strPath;
strPath = cFileName;
strPath = strPath.Left(strPath.ReverseFind('\\'));
// strPath 就是你要的文件路径
char cFileName[MAX_PATH];
GetModuleFileName(NULL,cFileName,MAX_PATH);
CString strPath;
strPath = cFileName;
strPath = strPath.Left(strPath.ReverseFind('\\'));
// strPath 就是你要的文件路径
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货