BUG: Jet ODBC Driver Leaks Handle on Opening and Closing the Connection (293890)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft ODBC Driver for Access 4.0
This article was previously published under Q293890 SYMPTOMS
The Microsoft ODBC Driver for Access leaks handles and threads upon opening and closing the connection. This problem is observed in drivers that ship with MDAC 2.5, 2.5 SP1, and Jet 4.0 SP5.
RESOLUTION
To work around this problem, do not open and close the environment handle (henv) inside the loop.
Alternatively, you can load Msjet40.dll at the begining of your program to resolve this issue:
LoadLibrary("MSJET40.DLL")
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbbug kbJET kbnofix KB293890 |
---|
|