FIX: SQLAllocConnect in Console App. Causes Access Violation (124898)



The information in this article applies to:

  • Microsoft Open Database Connectivity 2.0

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.

Modification Type:MajorLast Reviewed:6/12/2001
Keywords:kbbug KB124898