Unfortunately, there's no safe way of accomplishing what you want. because DAO is not Thread-safe. There are several KB articles that will interest you: Q156138 "Limitations of DAO, DAO SDK in NT Service or with Threads". Q169395 "PRB: Thread Safety for DAO/Jet 3.5" Q151407 "PRB: DAO 3.0 Must Be Used in Primary Thread"
============================================================================
http://www.betajin.com/alphasun/index.htm 给我发信息请附带原帖地址
http://alphasun.18en.com/ http://shakingtoolkit.9126.com/
DocWizard C++程序文档自动生成工具 | Wave OpenGL | HttpProxy | AjaxParser词法分析
because DAO is not Thread-safe.
There are several KB articles that will interest you:
Q156138 "Limitations of DAO, DAO SDK in NT Service or with Threads".
Q169395 "PRB: Thread Safety for DAO/Jet 3.5"
Q151407 "PRB: DAO 3.0 Must Be Used in Primary Thread"