Click here to Skip to main content
15,894,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why it dont work Pin
Maximilien13-Oct-04 13:16
Maximilien13-Oct-04 13:16 
GeneralRe: why it dont work Pin
Mad__14-Oct-04 0:45
Mad__14-Oct-04 0:45 
GeneralHelp me with thread performance Pin
Budric B.13-Oct-04 10:20
Budric B.13-Oct-04 10:20 
GeneralRe: Help me with thread performance Pin
Joaquín M López Muñoz13-Oct-04 11:17
Joaquín M López Muñoz13-Oct-04 11:17 
GeneralRe: Help me with thread performance Pin
Michael Dunn13-Oct-04 20:22
sitebuilderMichael Dunn13-Oct-04 20:22 
GeneralRe: Help me with thread performance Pin
Henry miller14-Oct-04 2:24
Henry miller14-Oct-04 2:24 
GeneralRe: Help me with thread performance Pin
Blake Miller14-Oct-04 4:42
Blake Miller14-Oct-04 4:42 
GeneralRe: Help me with thread performance Pin
Budric B.14-Oct-04 6:39
Budric B.14-Oct-04 6:39 
Thank you for all the suggestions. I'm trying out some of them now. Setting the thread priority to below normal helps, but then when I move the mouse or interact with the gui the thread almost doesn't do anything.

To give you more detail the program is actually capturing images using a camera via a firewire cable. With thread having normal priority the images come in really fast, so fast that the user interface is unusable and the images don't get displayed properly.

I redraw using OpenGL, and I no longer call Invalidate() I just call the GL function that draws the image. The performance is still not as good as the balance I have now from OnIdle.
QuestionCopying Files -- On the Right Track? Pin
Ian Bowler13-Oct-04 9:05
Ian Bowler13-Oct-04 9:05 
AnswerRe: Copying Files -- On the Right Track? Pin
David Crow13-Oct-04 10:33
David Crow13-Oct-04 10:33 
AnswerRe: Copying Files -- On the Right Track? Pin
Maximilien13-Oct-04 10:33
Maximilien13-Oct-04 10:33 
GeneralRe: Copying Files -- On the Right Track? Pin
Ian Bowler13-Oct-04 11:47
Ian Bowler13-Oct-04 11:47 
Generalpointer question Pin
Anonymous13-Oct-04 8:22
Anonymous13-Oct-04 8:22 
GeneralRe: pointer question Pin
Budric B.13-Oct-04 8:34
Budric B.13-Oct-04 8:34 
GeneralRe: pointer question Pin
Anonymous13-Oct-04 8:45
Anonymous13-Oct-04 8:45 
GeneralRe: pointer question Pin
TFrancis13-Oct-04 8:58
TFrancis13-Oct-04 8:58 
GeneralRe: pointer question Pin
Budric B.13-Oct-04 9:00
Budric B.13-Oct-04 9:00 
GeneralRe: pointer question Pin
Tyrus18213-Oct-04 17:17
Tyrus18213-Oct-04 17:17 
GeneralRe: pointer question Pin
Anonymous13-Oct-04 17:21
Anonymous13-Oct-04 17:21 
GeneralRe: pointer question Pin
Henry miller14-Oct-04 2:31
Henry miller14-Oct-04 2:31 
GeneralC++/MFC tests Pin
BlackDice13-Oct-04 7:42
BlackDice13-Oct-04 7:42 
GeneralRe: C++/MFC tests Pin
David Crow13-Oct-04 10:35
David Crow13-Oct-04 10:35 
GeneralRe: C++/MFC tests Pin
BlackDice13-Oct-04 11:38
BlackDice13-Oct-04 11:38 
GeneralRe: C++/MFC tests Pin
David Crow14-Oct-04 2:10
David Crow14-Oct-04 2:10 
GeneralRe: C++/MFC tests Pin
BlackDice14-Oct-04 2:41
BlackDice14-Oct-04 2:41 

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.