codepanter
October 5th, 2006, 01:49 AM
Hi,
1)In my application im calling this function
::FtpCommand(hConnect, // WinInet Connection handle
FALSE, // No, I don't expect a response
FTP_TRANSFER_TYPE_BINARY, // I'm receiving ASCII
strSeekOffsetCMD.c_str(), // This is the FTP command I am passing
0, // No context needed
&hResponse); // The handle to read the response
But im getting error like this......
C:\Documents and Settings\Administrator\Desktop\pr\PauseResumeDemoDlg.cpp(311) : error C2039: 'FtpCommand' : is not a member of '`global namespace''
C:\Documents and Settings\Administrator\Desktop\pr\PauseResumeDemoDlg.cpp(311) : error C2065: 'FtpCommand' : undeclared identifier
Error executing cl.exe.
this FtpCommand has to be declared in WinInet.h.................but in VC98
it is not defined how can i solve this issue .....................
1)In my application im calling this function
::FtpCommand(hConnect, // WinInet Connection handle
FALSE, // No, I don't expect a response
FTP_TRANSFER_TYPE_BINARY, // I'm receiving ASCII
strSeekOffsetCMD.c_str(), // This is the FTP command I am passing
0, // No context needed
&hResponse); // The handle to read the response
But im getting error like this......
C:\Documents and Settings\Administrator\Desktop\pr\PauseResumeDemoDlg.cpp(311) : error C2039: 'FtpCommand' : is not a member of '`global namespace''
C:\Documents and Settings\Administrator\Desktop\pr\PauseResumeDemoDlg.cpp(311) : error C2065: 'FtpCommand' : undeclared identifier
Error executing cl.exe.
this FtpCommand has to be declared in WinInet.h.................but in VC98
it is not defined how can i solve this issue .....................