Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp Me!! Pin
20-Mar-01 2:56
suss20-Mar-01 2:56 
GeneralRe: Help Me!! Pin
l a u r e n21-Mar-01 1:19
l a u r e n21-Mar-01 1:19 
General(void *) conversion to double Pin
Joan M20-Mar-01 2:30
professionalJoan M20-Mar-01 2:30 
GeneralRe: (void *) conversion to double Pin
markkuk20-Mar-01 21:41
markkuk20-Mar-01 21:41 
GeneralDebugging Problem with CHAR Pin
.::RockNix::.20-Mar-01 1:29
.::RockNix::.20-Mar-01 1:29 
GeneralRe: Debugging Problem with CHAR Pin
20-Mar-01 3:44
suss20-Mar-01 3:44 
GeneralFirst-chance exception in myapp.exe (GDI32.DLL): 0xC0000005: Access Violation. Pin
jerry0davis20-Mar-01 0:38
jerry0davis20-Mar-01 0:38 
GeneralRe: First-chance exception in myapp.exe (GDI32.DLL): 0xC0000005: Access Violation. Pin
Tim Deveaux20-Mar-01 13:03
Tim Deveaux20-Mar-01 13:03 
These are hard to trap, but often harmless.

Sometimes you can get an idea of the general area involved by stopping at a breakpoint (or starting with F10) and modifying the exception behavior so that first chance exceptions cause a break.

After the debug session is started open the Debug menu and select the Exceptions option. In the dialog change the behavior of the access violation from 'Stop if not handled' to 'Stop always'. Then, the next time the OS traps the exception, you'll break into the code - albeit some rather cryptic assembly of GDI32.DLL. If you hit alt+7 to display the call stack, and you're lucky enough to see some files that show you the last made graphics calls, you might be able to infer what's going on.

Very often you won't be able to see much. GDI is the worst, I think, since problems may be bubbling up from some minor driver fluff - who knows? I've seen docs in the MSDN that try to assuage the fears of ardent developers like yourself, and I think the basic dogma these days is to let it be.

The tip here can be useful in other areas though - I can remember using it to straighten out a bad CString initialization once. Always nice to at least try to see what's going on! Smile | :)
QuestionHow to maintain different title bars' caption ? Pin
leonwoo20-Mar-01 0:10
leonwoo20-Mar-01 0:10 
AnswerRe: How to maintain different title bars' caption ? Pin
Michael Dunn20-Mar-01 6:20
sitebuilderMichael Dunn20-Mar-01 6:20 
GeneralRe: How to maintain different title bars' caption ? Pin
21-Mar-01 0:58
suss21-Mar-01 0:58 
AnswerRe: How to maintain different title bars' caption ? Pin
l a u r e n21-Mar-01 1:23
l a u r e n21-Mar-01 1:23 
GeneralADO Streams Pin
ernst.maurer19-Mar-01 23:13
ernst.maurer19-Mar-01 23:13 
GeneralStorage, OleDocument ... Pin
19-Mar-01 22:24
suss19-Mar-01 22:24 
Generalsome thing is strang in double type Pin
Ahmad19-Mar-01 21:44
Ahmad19-Mar-01 21:44 
GeneralRe: some thing is strang in double type Pin
markkuk19-Mar-01 22:10
markkuk19-Mar-01 22:10 
GeneralRe: some thing is strang in double type Pin
Ahmad20-Mar-01 21:00
Ahmad20-Mar-01 21:00 
Generalpointer of pointer(char** ch) Pin
Ahmad19-Mar-01 21:39
Ahmad19-Mar-01 21:39 
GeneralRe: pointer of pointer(char** ch) Pin
Datacrime20-Mar-01 1:24
Datacrime20-Mar-01 1:24 
GeneralRe: pointer of pointer(char** ch) Pin
Ahmad20-Mar-01 21:09
Ahmad20-Mar-01 21:09 
Generalbitwise left shift and sight shift Operators << , >> Pin
Ahmad19-Mar-01 21:35
Ahmad19-Mar-01 21:35 
GeneralRe: bitwise left shift and sight shift Operators << , >> Pin
Michael Martin20-Mar-01 16:45
professionalMichael Martin20-Mar-01 16:45 
GeneralRe: bitwise left shift and sight shift Operators << , >> Pin
Ahmad20-Mar-01 21:16
Ahmad20-Mar-01 21:16 
Generali want to know something about wingdows logon Pin
mikeluo19-Mar-01 16:04
mikeluo19-Mar-01 16:04 
GeneralCalling dos command in a win32 console application Pin
kk919-Mar-01 13:14
kk919-Mar-01 13:14 

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.