Alaska Software Inc. - InernetConnectA() API doubt
Username: Password:
AuthorTopic: InernetConnectA() API doubt
Carlos A Beling InernetConnectA() API doubt
on Wed, 16 Oct 2019 17:23:17 -0300
Good day:
I use the LoadFromUrl.prg from Phil Ide.
Sometimes when trying to connect to the internet for FTP session:
. Executing InternetAttemptConnect(0) works fine.
. Executing  InternetOpenA(...) works fine.
. Executing InternetconnectA(...) 
(https://docs.microsoft.com/en-us/windows/win32/api/wininet/nf-wininet-internetconnecta) 
it returns 0 (Fail)
Trying to catch the error I execute:
    . GetLastError() 
(https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror) 
that returns 0 (no Error)
    . InternetGetLastResponseInfoA() returns 0 (no Error)
Please do one know why?

Fraternally
Beling