1>c:\program files\microsoft sdks\windows\v6.0a\include\wininet.h(58) : error C2146: syntax error : missing ';' before identifier 'HINTERNET'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wininet.h(58) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wininet.h(58) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C4430: missing type specifier - int assumed. Note: C++ does not support default-int
................
................
................
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
It can be done with a line of code like #pragma comment (lib, "wininet.lib") for MSVS. You would need to put the entire path to the library into that second argument though.