This is a discussion on SQLserver programming using MFC CDatabase & Crecordset. within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello, I am using MFC classes Cdatabase & Crecordset to open the data source & do all the updates, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I am using MFC classes Cdatabase & Crecordset to open the data source & do all the updates, everything seems to be working, However, as soon as I try exiting the application, it gives me a trace in the output window : "Error: SQLFreeEnv failure ignored in CDatabase::Free()" what does that mean? How do you get rid of it? I thought that I didn't close the CDatabase object, so I close the CDatabase object & then try exiting the application & it crashes saying some kind of unhandled exception & breaks at: RETCODE nRetCodeEnv = ::SQLFreeEnv(pDbState->m_henvAllConnections); in Dbcore.cpp I needed help with respect to above problems, Please let me know about it if anybody had this kind of trouble. Nilesh. |