Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to know where a memory leak is generated? Pin
xxhimanshu17-Jan-03 1:15
xxhimanshu17-Jan-03 1:15 
AnswerRe: How to know where a memory leak is generated? Pin
Chris Richardson17-Jan-03 10:43
Chris Richardson17-Jan-03 10:43 
GeneralRe: How to know where a memory leak is generated? Pin
Joan M17-Jan-03 10:59
professionalJoan M17-Jan-03 10:59 
Generalprocess information Pin
Rizwan Rafique17-Jan-03 0:17
Rizwan Rafique17-Jan-03 0:17 
GeneralTask manager? Pin
AlexO17-Jan-03 3:02
AlexO17-Jan-03 3:02 
GeneralRe: process information Pin
Eanna M-annion17-Jan-03 6:24
Eanna M-annion17-Jan-03 6:24 
Questionbug in CPrintDialog with Win95/98 ? Pin
jpg17-Jan-03 0:12
jpg17-Jan-03 0:12 
AnswerRe: bug in CPrintDialog with Win95/98 ? Pin
jpg17-Jan-03 2:57
jpg17-Jan-03 2:57 
I found the solution on CodeGuru...

// extract :
When starting the print-dialog, a part of the code in the printerdriver is executed (setup/init, querying printer capabilities etc). This bit of code may have altered the FPU exception mask. The driver SHOULD reset the FPU exception mask but this is quite often omitted.
The safest bet would be to reset the FPU after calling the CPrintDialog:oModal.
_control87( _CW_DEFAULT, 0xfffff )
//

Executing this line
_control87( _CW_DEFAULT, 0xfffff )
before my paint code stops the crash.




JPG
GeneralOf Rich Text, images and memory leaks Pin
Daniel Salby17-Jan-03 0:12
Daniel Salby17-Jan-03 0:12 
GeneralXP Style Pin
Ajesh kumar17-Jan-03 0:12
Ajesh kumar17-Jan-03 0:12 
Generalmemory allocation Pin
Paul Silvernail17-Jan-03 0:09
Paul Silvernail17-Jan-03 0:09 
GeneralRe: memory allocation Pin
Hesham Amin17-Jan-03 2:54
Hesham Amin17-Jan-03 2:54 
GeneralRe: memory allocation Pin
AlexO17-Jan-03 2:59
AlexO17-Jan-03 2:59 
GeneralRe: memory allocation Pin
Paul Silvernail17-Jan-03 6:28
Paul Silvernail17-Jan-03 6:28 
GeneralRe: memory allocation Pin
AlexO17-Jan-03 6:47
AlexO17-Jan-03 6:47 
GeneralRe: memory allocation Pin
Paul Silvernail17-Jan-03 10:06
Paul Silvernail17-Jan-03 10:06 
GeneralUrgent __asm question Pin
yektoop17-Jan-03 0:05
yektoop17-Jan-03 0:05 
GeneralRe: Urgent __asm question Pin
geo_m17-Jan-03 0:15
geo_m17-Jan-03 0:15 
GeneralRe: Urgent __asm question Pin
peterchen17-Jan-03 1:14
peterchen17-Jan-03 1:14 
Generalxx Pin
Anonymous16-Jan-03 23:17
Anonymous16-Jan-03 23:17 
GeneralRe: xx Pin
Anonymous16-Jan-03 23:18
Anonymous16-Jan-03 23:18 
GeneralRe: xx Pin
Rage16-Jan-03 23:26
professionalRage16-Jan-03 23:26 
GeneralRe: xx Pin
Christian Graus16-Jan-03 23:34
protectorChristian Graus16-Jan-03 23:34 
GeneralAssign Shortcut in DevStudio Macro Pin
peterchen16-Jan-03 23:10
peterchen16-Jan-03 23:10 
GeneralVertical rebar bands stretching Pin
Bartosz Bien16-Jan-03 23:11
Bartosz Bien16-Jan-03 23:11 

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.