Is Informix 3.31 ODBC driver thread-safe with MFC?
Posted in 2000
chrisw@ignitemedia.com — — source: Informix-list mailing list archive (1991-1998)
Hi - I've written a Windows DLL that acts as a connector extension between a chat product and our Informix database. This DLL uses MFC and ODBC, through the latest Informix 3.31 ODBC driver. In my DLL I'm using MFC CDatabase and CRecordset objects. Everything works great if I open the database connection, perform my query, and close the connection. But if I create the CDatabase object once, and try to use it across multiple threads (using separate CRecordset objects per thread), I get a protection fault in the Informix ODBC DLL (ICLIT09B.DLL) during all calls after the first one. Is this a known problem? thanks, - chris chrisw@ignitemedia.com Sent via Deja.com http://www.deja.com/ Before you buy.