Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

API Problems

API Problems

API Problems

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:

Declare Function FtpCommand Lib "wininet.dll" Alias "FTPCommandA" _
(ByVal hConnect As Long, _
ByVal fExpectResponse As Boolean, _
ByVal dwFlags As Long, _
ByVal lpszCommand As String, _
ByVal dwContext As Long, _
ByRef phFtpCommand As Long) As Boolean

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?



RE: API Problems

I'm impressed that you're trying this with the WinAPI call. I just use the internet transfer control that comes with VB - have you tried that?

RE: API Problems

No, as I'm doing this in VBA. I put the post here as well because I need an answer ASAP!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close