Network connection

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Network connection

Post by Antonio Linares »

Dear Otto,

This seems to be the right function to use: InetIsOffline()

http://msdn.microsoft.com/en-us/library ... S.85).aspx

Now we need to check if it is available for WM and WCE. In case that it is not available we may check Wine source code and see if it can be ported.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Network connection

Post by Antonio Linares »

Otto,

These functions may be also helpfull:

http://freshtechies.blogspot.com/2009/0 ... ernet.html

InternetGetConnectedState()
http://msdn.microsoft.com/en-us/library ... S.85).aspx
InternetCheckConnection()
http://msdn.microsoft.com/en-us/library ... S.85).aspx

Again, we have to check if they are avalaible for WM and WCE
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Network connection

Post by Antonio Linares »

Yes, it seems as they are provided in VCE WinInet.lib (WinInet.dll)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Network connection

Post by Otto »

Hello Antonio,
In my case I need to check a network drive not a Internet connection.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
Post Reply