Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Online or Not...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00281401
Message ID:
00283659
Vues:
15
Hi Eric,

>Which API will tell me if I am connected to the Inet or not and of not call up the Win Dialer and connect without prompting?
Declare Integer InternetGetConnectedState in WinINet.Dll Long @lpdwFlags, Long dwReserved
lnFlags = 0
? InternetGetConnectedState(@lnFlags,0)
This function returns 0, if not connected, any other value if connected. The flags can be used to determine additional information, like connected via modem, LAN, Proxy, etc.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform