using the dwContext for callback in ftp functions

hi all, i am creating a ftp program , a very simple one... i was able to create a connection and a callback function to it...

after connection with the help of InternetConnect the callback function is called for every event like 'creating connection', 'connected' after connecting i am using the ftp function to get the current working directory... for that functin the handle returned by InternetConnect is given... the function fails by giving an error message and that is "Invalid handle"... i meant to myself that the function failed to call because of the improper usage of the InternetConnect function... can any one help me with this... an example or a link for any type of explanation...?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!