Link an ODBC application on Microsoft Windows using the
sybdrvodb.lib library file.
- Add sybdrvodb.lib to Additional
Dependencies in the Linker/Input properties and add
<aseodbc_dir> to Additional Library
Directories in Linker/General properties for your
project.
- When deploying your application, verify that
%SYBASE%\DataAccess\ODBC\dll (for 32-bit ODBC drivers) or
%SYBASE%\DataAccess64\ODBC\dll (for 64-bit ODBC drivers), the
directory containing the Adaptive Server ODBC Driver shared library, is included in
your system path.