Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5843101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:06:27+00:00 2026-05-22T12:06:27+00:00

I am using CDatabase to establish connection with a ODBC database. My concerns are

  • 0

I am using CDatabase to establish connection with a ODBC database. My concerns are

Are operations on CDatabase and related classes thread safe?

one of threads will open a connection (using OpenEx) on program stratup and then other threads will perform CRUD database operations. Will thiswork fine without any threading issues

Where could I get more information on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:06:28+00:00Added an answer on May 22, 2026 at 12:06 pm

    Operations on CDatabase are not fully thread safe, and CRecordset even less. Each thread should use it’s own instance of a CRecordset object.

    http://msdn.microsoft.com/en-us/library/xx6t3y0x.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to establish a connection to a mysql database using PEAR DB. It's
I'm using the following code to initialize database connection: public Connection getConnection() { try
We're currently using a fully installed oracle client and ado.net via odbc to establish
I'm trying to establish a connection with a database in a Windows CE 5.0
While I establish a connection to SQL Server using ADO.NET, it showing errors. Following
I have read that using database keys in a URL is a bad thing
Using Access Database Table ID Time 001 100000 001 100005 001 103000 001 102500
Setup: Contact database using 4 tables Contacts Cities States Zips Structure: CREATE TABLE `contacts`
without using a database i wanted a file to point to the newest revision
I'm using this database where the date colomn is a numeric value instead of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.