Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with InternetGetConnectedState

Status
Not open for further replies.

gvt

Programmer
Jul 19, 2000
14
SE
Hi,<br><br>I have found a couple of examples on the web on how to check if a computer is connected to Internet or not. These examples use the API function InternetGetConnectedState. When I compile and run them on my computer, the following message is returned:<br>&nbsp;&quot;Run-time error '453': Can't find entry point InternetGetConnectedStateExA in wininet.dll&quot;<br>&nbsp;Do you have any idea what is wrong with my wininet.dll? (I am using Windows 95 and Visual Basic 5).<br>&nbsp;&nbsp;<br>&nbsp;Would appreciate it if anyone could help. Thanks.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vio<br>
 
I had that problem if I did not type in the name of the function EXACTLY as it appeared in the Declare statement - which means there is some case sensitivity I guess.
 
gvt:<br><br>This function was added recently to the WinInet.dll.&nbsp;&nbsp;I think it appeared in MSIE 4.01, but I'm not sure.&nbsp;&nbsp;In any case, you are not guaranteed for this function to be available on every version of Windows and Internet Explorer.<br><br>Chip H.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top