Click here to Skip to main content
15,891,833 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I deleted a class that I did not need Pin
Tom Wright21-Oct-04 7:50
Tom Wright21-Oct-04 7:50 
GeneralRe: I deleted a class that I did not need Pin
C_M_21-Oct-04 21:49
C_M_21-Oct-04 21:49 
GeneralRe: I deleted a class that I did not need Pin
Tom Wright22-Oct-04 4:10
Tom Wright22-Oct-04 4:10 
GeneralMFC Check Box Pin
missnazar21-Oct-04 6:49
missnazar21-Oct-04 6:49 
GeneralRe: MFC Check Box Pin
David Crow21-Oct-04 7:35
David Crow21-Oct-04 7:35 
GeneralParent repainting problem Pin
Phil.Benson21-Oct-04 6:36
professionalPhil.Benson21-Oct-04 6:36 
GeneralRe: Parent repainting problem Pin
Joaquín M López Muñoz21-Oct-04 9:10
Joaquín M López Muñoz21-Oct-04 9:10 
GeneralRe: Parent repainting problem Pin
Phil.Benson21-Oct-04 21:52
professionalPhil.Benson21-Oct-04 21:52 
The problem is I´m working with a Access database using DAO (MFC derived classes), and that is not thread safe. All I am doing is importing values from different tables from one DB to another.Dependent on the size of the data to import, this can take many minutes. I´m having to use do..while loops and this is obviously very CPU intensive. I´ve introduced sleep(0), to break the CPU usage a bit, but still have problems with the Main application painting. I´ve tried using GetParent()->RedrawWindow() from the Modal dialog, and funny enough, in the debug version this works, but when I compile in release, the modal dialog and the Main window are repainted, as long as no other window/app gets the focus. When I change back to my app, so that it has focus, both modal dialog and main app window are just plain white, and when the modal dialog gets focus, the task manager insists that it is not responding, but if I let it run, the task completes successfully. I´m no expert(as you can probably tell), but this has really got me stumped!

bum... and I thought I´d got rid of all the bugs Frown | :(
QuestionMessageBox class with CButtons? Pin
Anonymous21-Oct-04 6:31
Anonymous21-Oct-04 6:31 
AnswerRe: MessageBox class with CButtons? Pin
Joaquín M López Muñoz21-Oct-04 9:09
Joaquín M López Muñoz21-Oct-04 9:09 
Questionhow to find out if current session is a 'remote' session? Pin
dirtchamber21-Oct-04 6:02
dirtchamber21-Oct-04 6:02 
AnswerRe: how to find out if current session is a 'remote' session? Pin
Blake Miller22-Oct-04 4:33
Blake Miller22-Oct-04 4:33 
GeneralDetect Process Start Pin
wreck2721-Oct-04 5:46
wreck2721-Oct-04 5:46 
GeneralLinking with inline methods Pin
0v3rloader21-Oct-04 5:40
0v3rloader21-Oct-04 5:40 
GeneralRe: Linking with inline methods Pin
Joaquín M López Muñoz21-Oct-04 9:05
Joaquín M López Muñoz21-Oct-04 9:05 
GeneralRe: Linking with inline methods Pin
0v3rloader22-Oct-04 0:05
0v3rloader22-Oct-04 0:05 
Generalrandom (or pseudo) random array of 100.000 positions Pin
doctorpi21-Oct-04 5:13
doctorpi21-Oct-04 5:13 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
David Crow21-Oct-04 5:27
David Crow21-Oct-04 5:27 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
doctorpi21-Oct-04 5:30
doctorpi21-Oct-04 5:30 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
David Crow21-Oct-04 5:46
David Crow21-Oct-04 5:46 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
doctorpi21-Oct-04 5:52
doctorpi21-Oct-04 5:52 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
David Crow21-Oct-04 6:09
David Crow21-Oct-04 6:09 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
PJ Arends21-Oct-04 6:24
professionalPJ Arends21-Oct-04 6:24 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
doctorpi21-Oct-04 6:26
doctorpi21-Oct-04 6:26 
GeneralInternet suggestion needed Pin
includeh1021-Oct-04 4:21
includeh1021-Oct-04 4:21 

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.