-
InternetOpenURLA
I'm trying to figure this out but anything I do gives me errors
Code:
hINet = InternetOpen("InetURL/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 );
hConnection = InternetConnect( hINet, "www.com", 80, " "," ", INTERNET_SERVICE_HTTP, 0, 0 );
Some websites tell me to use some query api to load the sourcecode into a variable but it is some strange packet request.
If anybody has any advice or just a direction to point me in, it will be welcomed greatly :)
-
And what are the errors? Are they compile errors? Runtime errors?
-
Code:
error LNK2001: unresolved external symbol __imp__InternetCloseHandle@4
error LNK2001: unresolved external symbol __imp__InternetReadFile@16
error LNK2001: unresolved external symbol __imp__InternetOpenUrlA@24
error LNK2001: unresolved external symbol __imp__InternetConnectA@32
error LNK2001: unresolved external symbol __imp__InternetOpenA@20