Link to home
Start Free TrialLog in
Avatar of deatc
deatc

asked on

odbccp32.lib Link Error

Hi.  I am trying to compile a C++ project using Visual Studio 2015, but I get the following error:

    odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol __vsnwprintf_s referenced in function _StringCchPrintfW

though I did not get this error when compiling with Visual Studio 2013.  Do you know how to resolve this error?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Kalpesh Chavan
Kalpesh Chavan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sarabande
you also could use vs2015 IDE but build your project by using vs2013 compiler and linker. you would do that by opening vs2013 project file (or solution) with vs2015 and say 'no'  when you were asked whether the project should be converted. of Course, vs2013 still must be available.

Sara
Avatar of pepr
pepr

OT: Have a look at nanodbc https://github.com/lexicalunit/nanodbc