Clemens,

On Fri, Jan 29, 2016 at 3:19 AM, Clemens Ladisch <clemens at ladisch.de> wrote:
> Igor Korot wrote:
>> 1>odbccp32.lib(dllload.obj) : error LNK2019: unresolved external
>> symbol __imp___vsnprintf referenced in function
>> _StringVPrintfWorkerA at 20
>
> Looks like a bug in the MSVC libraries:
> http://stackoverflow.com/questions/4596212/c-odbc-refuses-to-statically-link-to-libcmt-lib-under-vs2010

It looks like the solution is to add the MSVC 2008 odbccp32.lib to the project.

The trouble is - I don't know how compatible it will be with all other
libraries from MSVC 2010.
Moreover I would rather add the vsnprintf library from MSVC 2010 than
get old version of odbccp32.lib.

Is it possible to just add that library to the link command and not
old odbccp32.lib?

Thank you.

>
>
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to