Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Andy Lona
  Where is Andy Lona?
 Hamburg
 Germany
 Andy Lona
 To: Merril
  Where is Merril?
 Port Elizabeth
 South Africa
 Merril
 Tags
Subject: RE: Connection error with API returns nothing??...
Thread ID: 46418 Message ID: 55134 # Views: 3 # Ratings: 0
Version: Visual FoxPro 8 Category: Web, FTP and other Internet Protocols
Date: Friday, November 05, 2004 7:33:04 PM         
   


Hi,

I think, that only the api function "getlasterror()" will help you out here. For example, the error number 12029 means "connection failed" . The api function "InternetGetLastResponseInfo()" will only give you some information, when the return number of "getlasterror()" is the corresponding value of the constant ERROE_INTERNET_EXTENDED_ERROR

Regards

Andy

> Hi,
>
> Im using windows API to connect to the internet. When I call the API InternetConnect to connect to the site and there is an error, no error code is returned from the GetLastError API and the InternetGetLastResponseInfo API has not data returned either. Why is this?
>
> How can I determine if the password, username, or FTP site is valid if no response is given. Is there a way that I can get the error code, should the Internetconnect API fail for some Reason?
>
> Regards,
>
> Stuart
>
> "Software developers strive to produce idiot-proof software, while the universe strives to produce bigger idiots" - Rick Cook


ENTIRE THREAD

Connection error with API returns nothing???? Why? Posted by Merril @ 7/8/2004 9:13:24 AM
RE: Connection error with API returns nothing??... Posted by Eric den Doop @ 7/10/2004 7:11:11 PM
RE: Connection error with API returns nothing??... Posted by Andy Lona @ 11/5/2004 7:33:04 PM
RE: Connection error with API returns nothing??... Posted by Andy Lona @ 11/5/2004 7:42:51 PM