char szFtpPath[256];
int nLength = GetModuleFileName(NULL, szFtpPath, 256);
CString strFilePath(szFtpPath);
int len = strFilePath.GetLength();
// len = strFilePath.Find(" \\",len-15);
strFilePath = strFilePath.Left(len-14);
strFilePath+=" \\FtpConfig.ini";
strFilePath.Replace(" \\","\\\\");
CString str;
::GetPrivateProfileString("FtpString","CurPath","C:\\\\ftp",strDir.GetBuffer(200),200,strFilePath);
int nLength = GetModuleFileName(NULL, szFtpPath, 256);
CString strFilePath(szFtpPath);
int len = strFilePath.GetLength();
// len = strFilePath.Find(" \\",len-15);
strFilePath = strFilePath.Left(len-14);
strFilePath+=" \\FtpConfig.ini";
strFilePath.Replace(" \\","\\\\");
CString str;
::GetPrivateProfileString("FtpString","CurPath","C:\\\\ftp",strDir.GetBuffer(200),200,strFilePath);