FIX: Build Errors From ODS ODBC Sample Resource DLLsID: Q143340
|
Users are unable to build the ODS ODBC sample resource DLLs using the make files provided with SQL Workstation 6.0.
Microsoft has confirmed this to be a problem in the Microsoft SQL Server ODBC Driver version 2.50. This problem has been corrected in SQL Server 6.5.
Users can build a Win32 version of the resource DLL by creating a new
Visual C++ project. Use the Files/New/Project menu command to start a new
project. Specify the C:\Sql60\opends\samples\odsodbc\build directory.
Select Dynamic-Link Library as the project type. In the next window which
specifies the project files, add the files Libmain.c and Samp.rc from
C:\Sql60\opends\samples\odsodbc\src. Build the project.
Users can build a Win16 version of the resource DLL by making a couple of
modifications of the build BAT file and the Samp.rc file. In
C:\Sql60\opends\samples\odsodbc\build\buildw16.bat remove or REM out the
lines that read:
setlocal
endlocal
#include <odbcver.h>
#include "odbcver.h"
libentry.obj +
Additional query words: sql6 winnt vc++
Keywords : kbprg SSrvProg kbbug6.00
Version : 6.0
Platform : WINDOWS
Issue type :
Last Reviewed: March 24, 1999