- CString CphotoDlg::GetCurWorkingDir(void)
- {
- TCHAR strPath[MAX_PATH] = {0};
- GetModuleFileName( NULL, strPath, MAX_PATH );
- //文件夹的路径
- TCHAR * pTem = wcsrchr( strPath, '//' );
- pTem = pTem + 1;
- *pTem = '/0';
- return strPath;
- }
获取文件夹路径
最新推荐文章于 2021-05-26 11:52:47 发布