VC返回文件所在的路径
//返回文件所在的路径
void GetPath(CString& Des,char* src)
{
CString TmpStr = src;
int Location = TmpStr.ReverseFind('""');
Des = TmpStr.Left(Location);
}
void GetPath(CString& Des,char* src)
{
CString TmpStr = src;
int Location = TmpStr.ReverseFind('""');
Des = TmpStr.Left(Location);
}