I'm using the WinIAPI.dll functions to write a program that does some stuff with FTP. I've got all the functions I need working, except for one. It's called FtpCommand, and I have declared it as:<br>
<br>
Declare Function FtpCommand Lib "wininet.dll" Alias "FTPCommandA" _<br>
(ByVal hConnect As Long, _<br>
ByVal fExpectResponse As Boolean, _<br>
ByVal dwFlags As Long, _<br>
ByVal lpszCommand As String, _<br>
ByVal dwContext As Long, _<br>
ByRef phFtpCommand As Long) As Boolean<br>
<br>
But when I try and run it, I just get the error message about "Cannot find DLL Entry Point". So what do I do? Is there a web page somewhere that gives the declares for all these api functions, or are you just supposed to know them?<br>
<br>
Thanks<br>
<br>
Jon
<br>
Declare Function FtpCommand Lib "wininet.dll" Alias "FTPCommandA" _<br>
(ByVal hConnect As Long, _<br>
ByVal fExpectResponse As Boolean, _<br>
ByVal dwFlags As Long, _<br>
ByVal lpszCommand As String, _<br>
ByVal dwContext As Long, _<br>
ByRef phFtpCommand As Long) As Boolean<br>
<br>
But when I try and run it, I just get the error message about "Cannot find DLL Entry Point". So what do I do? Is there a web page somewhere that gives the declares for all these api functions, or are you just supposed to know them?<br>
<br>
Thanks<br>
<br>
Jon