Knowledge Base

FIX: SQLAllocConnect in Console App. Causes Access Violation

Article ID: 124898

Article Last Modified on 6/12/2001


APPLIES TO


This article was previously published under Q124898
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 query words: 2.00.1512 ODBC Driver Manager Windows NT

Keywords: kbbug kbfix KB124898