I do a program, which should parse the site. When using designs
HINTERNET hInternet = InternetOpen( TEXT("WinInet Test"), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
an error occurs:
Unresolved external InternrtOpenA referensed from D: ... UNIT1.OBJ
As I understand it is necessary to connect the library " ws2_32.lib
".
If you simply add it to the project ( Add to project
), nothing changes.
If I add via " #pragma comment(lib, "ws2_32.lib")
" (I even copied it into the project folder), nothing changes either.
What else can you do?