const char* COJServerDlg::GetFullPath(const char * szPath) { string fileName = szPath; CString appPath = GetAppPath(); string seperator = "\\";//单引号 string fullPath = appPath.GetBuffer(0) +seperator+fileName; return fullPath.c_str(); }