odbccp32.lib(dllload.obj) : error LNK2019: __imp___vsnprintf,该符号在函数 _StringVPrintfWorkerA@20 中被引用
It is a KNOWN bug in odbccp.lib included with the PSDK 7.1. Simplest workaround, just add this code to one of your sources:
//---------------------------------------------------//
#include <stdio.h>
#include <wtypes.h>
extern "C" int _imp___vsnprintf(
char *buffer,
size_t count,
const char *format,
va_list argptr
)
{
return vsnprintf( buffer, count, format, argptr );
}
//---------------------------------------------------//
It resolves the missing external, by creating a wrapper with the missing name and redirecting it to the correct statically linked symbol.