CString LG_GetFilePathName()
{
wchar_t szPath[MAX_PATH + 1] = { 0 };
::GetModuleFileName(NULL, szPath, MAX_PATH + 1);
*_tcsrchr(szPath, '\\') = 0;
CString strPath(szPath);
return strPath;
}
获取exe所在文件的路径
最新推荐文章于 2023-11-29 16:05:44 发布