Archive: 98 and internetcheckconnection


98 and internetcheckconnection
this code below works under 2000 and XP, but fails in 98...
Is there another way to check for an internet connection for 98 users ? Or, is there a better more compatible way for 98,2000,and XP systems?

System::Call "wininet::InternetCheckConnection( \
t 'http://www.siren.cc/Univision/fonovisa/Library/nsis/!Fonovisa.ini', \
i ${FLAG_ICC_FORCE_CONNECTION}, i 0) i .r0"
StrCmp $0 "error" noie3 +1
StrCmp $0 "0" noconnection success

many thanks
g


InternetGetConnectedState also may help to chect Inet availability (but sometimes this gives wrong answer in LANs)
http://forums.winamp.com/showthread....light=Internet