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

dial internet in win ce

Status
Not open for further replies.

shaunfrs

Programmer
Jun 4, 2003
7
CA
I am working on a program in C that must dial and disconnect without user intervention. I have looked at the API reference on MSDN and took note of the InternetDial, InternetAutodial, InternetHangup, and InternetAutodialHangup functions. I included the wininet.h header file, added the wininet.lib file to my project and made sure the wininet.dll file was present in the Windows directory of the device. When I compiled I got a linker error:
Form1.obj : error LNK2019: unresolved external symbol InternetAutodial referenced in function ...
I got this error for each of the four functions. Other functions defined in the wininet header worked (though not all). I checked out the library file and found no reference to these four functions. Is there another way to get windows to autodial? Is there something wrong with my library file? Is there a way to fix it?
 
What version of CE are you using? The MSDN docs say only version 4.0 and later includes these functions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top