GetFtpConnection的无效句柄的问题
try
{
m_Ftp_Conn = Cis.GetFtpConnection(pFtpI->GetAt(0),pFtpI->GetAt(1), pFtpI->GetAt(2));
}
catch(CInternetException *pEx)
{
TCHAR szError[1024];
if(pEx->GetErrorMessage(szError,1024))
AfxMessageBox(szError);
else
AfxMessageBox(_T("there was an exception"));
pEx->Delete();
m_Ftp_Conn=NULL;
return;
}
运行时有一个无效句柄的警告 pFtpI是一个CStringArray的指针.