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?
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?