Click here to Skip to main content
16,010,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread question Pin
Daniel Lohmann12-Aug-02 10:41
Daniel Lohmann12-Aug-02 10:41 
GeneralRe: Thread question Pin
achandra00712-Aug-02 11:11
achandra00712-Aug-02 11:11 
GeneralRe: Thread question Pin
Daniel Lohmann12-Aug-02 12:23
Daniel Lohmann12-Aug-02 12:23 
GeneralRe: Thread question Pin
achandra00712-Aug-02 12:27
achandra00712-Aug-02 12:27 
GeneralRe: Thread question Pin
Wes Jones12-Aug-02 12:05
Wes Jones12-Aug-02 12:05 
GeneralRe: Thread question Pin
achandra00712-Aug-02 12:21
achandra00712-Aug-02 12:21 
GeneralRe: Thread question Pin
Wes Jones12-Aug-02 12:40
Wes Jones12-Aug-02 12:40 
GeneralRe: Thread question Pin
achandra00713-Aug-02 2:52
achandra00713-Aug-02 2:52 
Wes

Thanks for the advice. I will make the appropriate changes.

You may be right about CDaoDatabase. I am opening it in the main thread (Open call) and then passing the main processing function to AfxBeginThread so that all the processing (multiple databases are being used) can be done in the background. The reason I have to use two threads is that I need GUI control over the dialog window.

I read some of the DAO documentation and it does not support multiple threads. However, I had thought if I did everything in the worker thread, it should be OK. Apparently, it does not like being opened with the main thread and then being worked on by another. I will probably have to move the code around.

Thanks a lot
ashish

GeneralRe: Thread question Pin
achandra00713-Aug-02 2:58
achandra00713-Aug-02 2:58 
GeneralRe: Thread question Pin
Wes Jones13-Aug-02 5:31
Wes Jones13-Aug-02 5:31 
GeneralRe: Thread question Pin
achandra00713-Aug-02 7:50
achandra00713-Aug-02 7:50 
GeneralMemory dump Pin
Hugo Hallman12-Aug-02 8:09
Hugo Hallman12-Aug-02 8:09 
GeneralRe: Memory dump Pin
PJ Arends12-Aug-02 15:09
professionalPJ Arends12-Aug-02 15:09 
Generalprintf question Pin
Shawn Horton12-Aug-02 8:10
Shawn Horton12-Aug-02 8:10 
GeneralRe: printf question Pin
Tomasz Sowinski12-Aug-02 8:21
Tomasz Sowinski12-Aug-02 8:21 
GeneralRe: printf question Pin
Shawn Horton12-Aug-02 8:39
Shawn Horton12-Aug-02 8:39 
GeneralRe: printf question Pin
Tomasz Sowinski12-Aug-02 8:54
Tomasz Sowinski12-Aug-02 8:54 
GeneralRe: printf question Pin
Shawn Horton12-Aug-02 9:01
Shawn Horton12-Aug-02 9:01 
GeneralRe: printf question Pin
Tomasz Sowinski12-Aug-02 9:09
Tomasz Sowinski12-Aug-02 9:09 
GeneralRe: printf question Pin
Daniel Lohmann12-Aug-02 10:34
Daniel Lohmann12-Aug-02 10:34 
GeneralRe: printf question Pin
Shawn Horton12-Aug-02 10:49
Shawn Horton12-Aug-02 10:49 
GeneralRe: printf question Pin
Daniel Lohmann12-Aug-02 12:28
Daniel Lohmann12-Aug-02 12:28 
GeneralUser breakpoint called from code. Please help! Pin
redeemer12-Aug-02 6:57
redeemer12-Aug-02 6:57 
GeneralRe: User breakpoint called from code. Please help! Pin
Daniel Turini12-Aug-02 7:25
Daniel Turini12-Aug-02 7:25 
GeneralRe: User breakpoint called from code. Please help! Pin
redeemer12-Aug-02 7:34
redeemer12-Aug-02 7:34 

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.