//FUN9:获取进程当前的路径
CString GetModulePath()
{
CString strPath;
GetModuleFileName(NULL, strPath.GetBuffer(MAX_PATH), MAX_PATH);
strPath.ReleaseBuffer();
int nPos = strPath.ReverseFind('//');
strPath = strPath.Left(nPos+1);
return strPath;
}
//FUN9:获取进程当前的路径
CString GetModulePath()
{
CString strPath;
GetModuleFileName(NULL, strPath.GetBuffer(MAX_PATH), MAX_PATH);
strPath.ReleaseBuffer();
int nPos = strPath.ReverseFind('//');
strPath = strPath.Left(nPos+1);
return strPath;
}