FIX: SQLAllocConnect in Console App. Causes Access Violation

Last reviewed: September 9, 1996
Article ID: Q124898
The information in this article applies to:
  • Microsoft Open Database Connectivity, version 2.0

BUG# ODBCSDK: 2833 (2.00.1512)

SYMPTOMS

An access violation occurs in NTDLL when an ODBC console application calls SQLAllocConnect() for the second time in the program. The call stack shows NTDLL, KERNEL32.DLL, and ODBC32.DLL. The access violations will not occur with a non-console application.

NOTE: This bug is limited only to Microsoft Windows NT.

STATUS

Microsoft has confirmed this to be a problem in the ODBC Driver Manager version 2.00.1512. This problem has been corrected in ODBC Driver Manager version 2.1. For more information, contact your primary support provider.


Additional reference words: 2.00.1512 ODBC Driver Manager Windows NT
KBCategory: kbprg kberrmsg kbbug2.00.1512 kbfix2.10
KBSubcategory:



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 9, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.