Hello,
I tried to create a static library. It include a download function which uses wininet functions, such as InternetOpen, etc.
The static library can be compiled without error.
But when I tried to use the static library in other application, MinGW reports some errors when link to the static library:
C:/MinGW/msys/1.0/home/lwbbs/workspace/download.cpp:46: undefined reference to `InternetOpenA@20'
Code::Blocks version: 10.05
Would you please tell me how to fix it?
Thanks.