CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    5

    how to deal with db and Thread?

    I now Get into a trouble of Accessing a DB through multi_thread in one process.
    who can tell me which db can be accessed(read and write) through multi_thread.
    If can, your answer with some solution will be appricate!

    yours Truly.


  2. #2
    Join Date
    Apr 1999
    Posts
    306

    Re: how to deal with db and Thread?

    The Access drivers do not support multithreading, but however I have succeeded to put a call to the Jet Engine in a worker thread using AfxDaoInit() and AfxDaoTerm() and the end of the thread and at the end of my dialogs.
    Microsoft SQL Server is fully multithreading.

    I do not know what you are doing so I do not know what smaple to give you.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured