Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I process "ALT + ENTER" in Win32 C++ programming? Pin
Mark Salsbery26-Jul-07 12:59
Mark Salsbery26-Jul-07 12:59 
GeneralRe: How do I process "ALT + ENTER" in Win32 C++ programming? Pin
Furrage26-Jul-07 14:35
Furrage26-Jul-07 14:35 
GeneralRe: How do I process "ALT + ENTER" in Win32 C++ programming? Pin
Mark Salsbery26-Jul-07 14:49
Mark Salsbery26-Jul-07 14:49 
GeneralRe: How do I process "ALT + ENTER" in Win32 C++ programming? Pin
Furrage26-Jul-07 15:01
Furrage26-Jul-07 15:01 
GeneralRe: How do I process "ALT + ENTER" in Win32 C++ programming? Pin
Mark Salsbery26-Jul-07 15:58
Mark Salsbery26-Jul-07 15:58 
QuestionQuestion about Recording from Microphone Pin
godspeed12326-Jul-07 11:37
godspeed12326-Jul-07 11:37 
AnswerRe: Question about Recording from Microphone Pin
Mark Salsbery26-Jul-07 13:06
Mark Salsbery26-Jul-07 13:06 
QuestionProgram crash while accessing OnPaint() from a thread!! Pin
Kiran Satish26-Jul-07 10:31
Kiran Satish26-Jul-07 10:31 
Hi,

I have an application where everything is written in serial fashion, one after the other and this included computation and updating certain displays within the main application. All these secondary displays are the child windows of the main application. This is a closed loop system where I need to update the displays in each iteration. While updating these displays takes 80% of the total time for each iteration, we want to increase the speed of the closed loop. So, I created different thread for updating displays while the computation loop works on it own and sets the flag for the display datasets when they r ready. My threads are defined in main application dialog file.

Here comes the problem, inorder to update the displays I am calling a method of the corresponding dialog box, which inturn calls the OnPaint() function of that dialog. This is where the program crashes with Abort Assertion Failed error.

Any ideas??

-Pavan.

Pavan

QuestionRe: Program crash while accessing OnPaint() from a thread!! Pin
David Crow26-Jul-07 10:47
David Crow26-Jul-07 10:47 
AnswerRe: Program crash while accessing OnPaint() from a thread!! [modified] Pin
Kiran Satish26-Jul-07 10:59
Kiran Satish26-Jul-07 10:59 
QuestionRe: Program crash while accessing OnPaint() from a thread!! Pin
David Crow30-Jul-07 2:56
David Crow30-Jul-07 2:56 
QuestionBuffer help Pin
dellthinker26-Jul-07 6:57
dellthinker26-Jul-07 6:57 
AnswerRe: Buffer help Pin
led mike26-Jul-07 7:15
led mike26-Jul-07 7:15 
GeneralRe: Buffer help Pin
dellthinker26-Jul-07 9:41
dellthinker26-Jul-07 9:41 
QuestionRe: Buffer help Pin
David Crow26-Jul-07 10:44
David Crow26-Jul-07 10:44 
AnswerRe: Buffer help Pin
dellthinker26-Jul-07 11:27
dellthinker26-Jul-07 11:27 
GeneralRe: Buffer help Pin
David Crow30-Jul-07 2:55
David Crow30-Jul-07 2:55 
Questionexactly same code, warning C4311: 'type cast' in a MFC dialog, no warning in console application!? Pin
alberthyc26-Jul-07 6:51
alberthyc26-Jul-07 6:51 
AnswerRe: exactly same code, warning C4311: 'type cast' in a MFC dialog, no warning in console application!? Pin
Mark Salsbery26-Jul-07 7:11
Mark Salsbery26-Jul-07 7:11 
AnswerRe: exactly same code, warning C4311: 'type cast' in a MFC dialog, no warning in console application!? Pin
Michael Dunn26-Jul-07 7:58
sitebuilderMichael Dunn26-Jul-07 7:58 
AnswerRe: exactly same code, warning C4311: 'type cast' in a MFC dialog, no warning in console application!? Pin
alberthyc26-Jul-07 13:30
alberthyc26-Jul-07 13:30 
GeneralRe: exactly same code, warning C4311: 'type cast' in a MFC dialog, no warning in console application!? Pin
Mark Salsbery26-Jul-07 13:40
Mark Salsbery26-Jul-07 13:40 
QuestionCustom cursor blinks while OpenGL redraws Pin
xuxiuxun26-Jul-07 5:29
xuxiuxun26-Jul-07 5:29 
AnswerRe: Custom cursor blinks while OpenGL redraws Pin
Roger Broomfield26-Jul-07 5:57
Roger Broomfield26-Jul-07 5:57 
GeneralRe: Custom cursor blinks while OpenGL redraws Pin
xuxiuxun26-Jul-07 15:59
xuxiuxun26-Jul-07 15:59 

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.