Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalabut Drag and drop I file Pin
zahid_ash11-Aug-04 21:33
zahid_ash11-Aug-04 21:33 
GeneralRe: abut Drag and drop I file Pin
David Crow12-Aug-04 3:25
David Crow12-Aug-04 3:25 
GeneralRe: abut Drag and drop I file Pin
zahid_ash12-Aug-04 19:00
zahid_ash12-Aug-04 19:00 
GeneralRe: abut Drag and drop I file Pin
David Crow13-Aug-04 2:34
David Crow13-Aug-04 2:34 
GeneralConnection objects in multithreaded appliations Pin
mahade111-Aug-04 21:26
mahade111-Aug-04 21:26 
GeneralRe: Connection objects in multithreaded appliations Pin
Antony M Kancidrowski12-Aug-04 1:06
Antony M Kancidrowski12-Aug-04 1:06 
GeneralRe: Connection objects in multithreaded appliations Pin
mahade112-Aug-04 1:57
mahade112-Aug-04 1:57 
GeneralRe: Connection objects in multithreaded appliations Pin
Antony M Kancidrowski12-Aug-04 7:59
Antony M Kancidrowski12-Aug-04 7:59 
Depending on the type of database connection object used there can be deadlock problems.

In the past I have used multiple threads with ADO each having its own database connection. In which I experienced deadlock problems within the ADO code (which is not under my control). I switched the system to a single connection and serialised access to get over this.

Saying that, this may not be a problem any longer. Just bear it in mind when you are developing.

To answer your question, theoretically it will be more efficient for each thread to have its own connection.

Hope that helps with your descision.

Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Williams (Little Britain)

GeneralRe: Connection objects in multithreaded appliations Pin
Laing,James12-Aug-04 12:35
Laing,James12-Aug-04 12:35 
GeneralRe: Connection objects in multithreaded appliations Pin
Antony M Kancidrowski12-Aug-04 12:59
Antony M Kancidrowski12-Aug-04 12:59 
GeneralRe: Connection objects in multithreaded appliations Pin
mahade112-Aug-04 19:00
mahade112-Aug-04 19:00 
General#define and Streams Pin
CreepingFeature11-Aug-04 21:20
CreepingFeature11-Aug-04 21:20 
GeneralRe: #define and Streams Pin
markkuk12-Aug-04 1:31
markkuk12-Aug-04 1:31 
Generalposting data Pin
ozgul11-Aug-04 21:10
ozgul11-Aug-04 21:10 
GeneralRe: posting data Pin
Ravi Bhavnani11-Aug-04 21:30
professionalRavi Bhavnani11-Aug-04 21:30 
GeneralRe: posting data Pin
Milton Karimbekallil11-Aug-04 21:30
Milton Karimbekallil11-Aug-04 21:30 
GeneralRe: posting data Pin
ozgul11-Aug-04 22:15
ozgul11-Aug-04 22:15 
GeneralRe: posting data Pin
Milton Karimbekallil11-Aug-04 23:18
Milton Karimbekallil11-Aug-04 23:18 
GeneralRe: posting data Pin
mahade112-Aug-04 1:01
mahade112-Aug-04 1:01 
Generalschedule task Pin
Anonymous11-Aug-04 20:46
Anonymous11-Aug-04 20:46 
GeneralRe: schedule task Pin
Ravi Bhavnani11-Aug-04 21:03
professionalRavi Bhavnani11-Aug-04 21:03 
Generalon log off Pin
Anonymous11-Aug-04 20:36
Anonymous11-Aug-04 20:36 
GeneralRe: on log off Pin
Milton Karimbekallil11-Aug-04 20:57
Milton Karimbekallil11-Aug-04 20:57 
GeneralCEditView and XP Manifest Pin
paulb11-Aug-04 20:11
paulb11-Aug-04 20:11 
GeneralOpen *.jpg with iexplore.exe Pin
Member 22148011-Aug-04 20:08
Member 22148011-Aug-04 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.