<!-- Download Links -->
<!-- Add the rest of your HTML here -->
CMTDaoDatabaseis derived from
CDaoDatabaseand has a static
CCriticalSectionmember variable. And
CMTDaoRecordsetis derived from
CDaoRecordset. All calls to
CDaoRecordsetpublic member functions is serialized by the static member variable of
CMTDaoDatabase, so you can use these classes in a multithreaded enviroment.
CMTDaoDatabase, just replace
CMTDaoDatabase. You can create your own recordset classes with VC ClassWizard, and then replace all occurences of
CMTDaoRecordsetin your source files of derived classes. You can also defined
CMTDaoRecordsetobjects and use them as
CDaoRecordsetobjects. And I am sure that there won't be any deadlock problem bothering you. Bug reports and revisions are welcomed, thanks.