Search This Blog

Thursday, May 24, 2012

Linker Errors when using InetIsOffline

Some times we will get linker errors like below when you are usnig InetIsOffline() Function.
 error LNK2019: unresolved external symbol __imp__InetIsOffline@4 referenced in function

To solve this problem add the following code after Header files include.

#pragma comment(lib,"url.lib")


Otherwise add "url.lib" in the Linker input of your project settings.

No comments: