Hello,
I am trying to check if PC could connect to Internet.
The check function Wininet.InternetCheckConnectionA does not come back.
What could be wrong?
Has anybody an idea how to test Internet Connection?
Regards
#define FLAG_ICC_FORCE_CONNECTION 0x01
prototype BOOL Wininet.InternetCheckConnectionA(BYREF STRING, NUMBER, NUMBER);
UseDLL(WINSYSDIR ^ "\\Wininet.dll")
bInternetAvailable = Wininet.InternetCheckConnectionA("WWW.google.com", FLAG_ICC_FORCE_CONNECTION, 0);
I am trying to check if PC could connect to Internet.
The check function Wininet.InternetCheckConnectionA does not come back.
What could be wrong?
Has anybody an idea how to test Internet Connection?
Regards
#define FLAG_ICC_FORCE_CONNECTION 0x01
prototype BOOL Wininet.InternetCheckConnectionA(BYREF STRING, NUMBER, NUMBER);
UseDLL(WINSYSDIR ^ "\\Wininet.dll")
bInternetAvailable = Wininet.InternetCheckConnectionA("WWW.google.com", FLAG_ICC_FORCE_CONNECTION, 0);