From: Igor Tandetnik on
georges <gg(a)gg.com> wrote:
> When I link a .lib, I get :
>
> error LNK2001: unresolved external symbol __imp___wcsicmp
> error LNK2001: unresolved external symbol __imp__qsort
> error LNK2001: unresolved external symbol __imp__wcsncpy
> error LNK2001: unresolved external symbol __imp___snwprintf
> error LNK2001: unresolved external symbol __imp__wcscmp
> .. etc...
>
> What could be the reason ?

The LIB file was built with CRT DLL option, while your executable is
being built with static CRT option. To link successfully, you should
build both modules against the same CRT flavor. Check under Project |
Properties | C/C++ | Code Generation | Runtime Library
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925