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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wininet "entry point" error?

Status
Not open for further replies.

gymbeef

Technical User
Sep 18, 2002
33
0
0
US
A search turned up some simple functions for testing the status of an internet connection, but I'm getting an error. Not sure if the info was obsolete, if I'm misunderstanding how they work, or if its just a simple syntax mistake. The error message that pops up says:
"Can't find DLL entry point GetInternetConnectedState in wininet.dll"

Here's how the function is declared:

Private Declare Function GetInternetConnectedState Lib "wininet.dll" (ByRef lpdwFlags As Long, ByVal dwReserved As Long) As Long

And its called by:

varStatus = GetInternetConnectedState(0&, 0&)

Any help with the above would be greatly appreciated, or alternatively, if there's a better\easier way to accomplish what I need.

Thanks in advance.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top