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





PostPosted: 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++9  
 
 
Damien Watkins - MSFT





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

Hello

Re: Want to give a college student a hand Some problem about DAO and Multi_thread in MFC...

Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1

The more appropriate place for your question is probably the MFC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US

OTP

Thanks

Damien

Thanks

Damien