Hi Hiroshi,
I get the following error when trying to build the 2.5 (legacy) driver:
cl.exe /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D
"_WINDOWS" /D "MBCS" /D "_USRDLL" /D PSQLODBC_EXPORTS" /D
"DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT"
/Fp".\MultibyteRelease\psqlodbc.pch" /YX /Fo".\MultibyteRelease\\"
/Fd".\MultibyteRelease\\" /FD /c dlg_wingui.c
dlg_wingui.c
dlg_wingui.c(569) : error C2065: 'SQL_HANDLE_ENV' : undeclared
identifier
dlg_wingui.c(569) : error C2065: 'SQL_NULL_HANDLE' : undeclared
identifier
dlg_wingui.c(574) : error C2065: 'SQL_ATTR_ODBC_VERSION' : undeclared
identifier
dlg_wingui.c(574) : error C2065: 'SQL_OV_ODBC3' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
It looks like this is some code you added a couple of days ago.
Regards, Dave.