FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Network connection
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Network connection
Posted: Mon May 25, 2009 11:55 PM
Dear Otto,

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

http://msdn.microsoft.com/en-us/library/bb776460(VS.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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Network connection
Posted: Tue May 26, 2009 12:04 AM
Otto,

These functions may be also helpfull:

http://freshtechies.blogspot.com/2009/01/vc-programmatically-checking-internet.html

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

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

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Network connection
Posted: Tue May 26, 2009 12:11 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Network connection
Posted: Tue May 26, 2009 12:16 AM

Hello Antonio,
In my case I need to check a network drive not a Internet connection.
Best regards,
Otto

Continue the discussion