Network connection

Re: Network connection

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Network connection

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Network connection

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Network connection

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Previous

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests