Answer the question
In order to leave comments, you need to log in
What is the problem with wininet.h?
MinGW, codeblocks
flatly refuses to compile any code with wininet, although this header seems to be in place.
For example this code:
#include<windows.h>
#include<wininet.h>
int main()
{
/// инициализируем WinInet
HINTERNET hInternet=InternetOpen(TEXT("WinInet Test"), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
}
undefined reference to `[email protected]'
Answer the question
In order to leave comments, you need to log in
Show the line that compiles the source. The linker must eat the Wininet library with the parameter-lwininet
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question