The information in this article applies to:
SYMPTOMS
One of the ODBC samples contained in the Programmers Tool Kit (PTK) is the
Odssamp.dll file. This file is created to provide resources for the
Odsgt32.dll file. The Odssamp.dll must be built with Visual C++ using the
project provided in the PTK. When building this project, it is possible for
the following errors to occur:
CAUSE
The following define statement, listed in the Libmain.c file, is incorrect
for a 32-bit build of the Odssamp.dll file:
WORKAROUNDTo work around this problem, change the #define in the Libmain.c file to either 0x0400 or to the value of the #define WINVER, listed in the Windows.h file provided by Visual C++ versions 4.0 through 4.2. Additional query words: gateway
Keywords : kbprg SSrvODS SSrvProg |
Last Reviewed: April 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |