|
|
Want to give a college student a hand? Some problem about DAO and Multi_thread in MFC... |
|
Author |
Message |
fullmental

|
Posted: Visual C++ General, Want to give a college student a hand? Some problem about DAO and Multi_thread in MFC... |
Top |
Hi,every expert,I am a student coming from China and came across a puzzle problem about MFC programing...Please forgive my poor English. The problem is that open the CDaoRecordset object in thread function which is started by AfxBeginThread() function.If m_daoRecorset->Open() called is NOT in the thread function,there is not exception thrown;if not (in thread function)there are some debugging exception pop up to show something wrong happened in file daocore.cpp.I don't know why. I compile the project in Visual C++ 6.0(not sp5) originally ,but the lib of DAO cannot support the access 2003's file(*.mdb),so I converted it into Visual Studio 2003 ,the damned problem happened.I ask someone in Chinese forum in CSDN(www.CSDN.net),they don't know the essential approach to solve it,another suggest me using ADO,but I haven't learned that. so I appear here. Please!Help me!It had drove me mad for 3 weeks.
Visual C++2
|
|
|
|
 |
Damien Watkins - MSFT

|
Posted: Visual C++ General, Want to give a college student a hand? Some problem about DAO and Multi_thread in MFC... |
Top |
|
|
 |
|
|