extern CWinApp theApp;
char szAppName[MAX_PATH];
:: GetModuleFileName(theApp.m_hinstance, szAppName, MAX_PATH);
CString strAppFullName;
strAppFullName.Format(“%s”, szAppName);
CString strTempPath = _T(“”);
strTempPath = strAppFullName.Left(strAppFullName.ReverseFind(‘//’)+1)+_T(“Temp”);
------------------------------------------------------------------------------------
http://www.xuebuyuan.com/1791829.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-08-15
  • 2021-05-13
  • 2022-01-18
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案