When I try to build an MFC project that has been ported to the VC++ 2005 compiler I get the following linker error:
ProgramName error LNK2019: unresolved external symbol __imp__FtpCommandA@24 referenced in function "public: class CInternetFile * __thiscall CFtpConnection::Command(char const *,enum CFtpConnection::CmdResponseType,unsigned long,unsigned long)" ( Command@CFtpConnection@@QAEPAVCInternetFile@@PBDW4CmdResponseType@1@KK@Z)

Linker Error in MFC App ported to VC++ 2005
dr266
Thanks anyway.
Inna73863
Thanks,
Ayman Shoukry
VC++ Team
Bas Pronk
Do you have a stand alone complete sample where the issue can be reproduced
Thanks,
Ayman Shoukry
VC++ Team
Koiti
TheAgent
Room222
#include <afxinet.h>
I suspect this method to be the one which is causing the error:
bool
CApplicationProcessor::PerformAuthentication(LPCTSTR lpszUsername, LPCTSTR lpszPassword){
bool bRetval = false;
CString strCookie;
CInternetSession* ApplicationServer = new CInternetSession();
InfuzerServer->GetCookie(www.ApplicationURL.comlogin.jsp ,"CookieName",
strCookie);
return bRetval;
}
learningWPF
No I don't have a standalone component for you. This is part of a large client application...actually, let me see if I can cook one up for you. Thanks for the attention.
BTW, you guys did a great job on the memory leak detection :)