Larry,
The function names are case sensitive in the DECLARE. But looking on the VisualStudio CD I don't see that API call listed.
>DECLARE INTEGER InternetGetConnectedState IN c:\windows\system\wininet.dll
>clear
>? InternetGetConnectedState()
>
>But I get a "Unable to find entrypoint" error. Any suggestions?