Click here to Skip to main content
15,896,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: access violation exception dump debug Pin
Hamid_RT22-Nov-08 20:29
Hamid_RT22-Nov-08 20:29 
GeneralRe: access violation exception dump debug Pin
George_George22-Nov-08 20:34
George_George22-Nov-08 20:34 
GeneralRe: access violation exception dump debug Pin
Hamid_RT22-Nov-08 21:23
Hamid_RT22-Nov-08 21:23 
GeneralRe: access violation exception dump debug Pin
George_George22-Nov-08 22:01
George_George22-Nov-08 22:01 
GeneralRe: access violation exception dump debug Pin
Hamid_RT23-Nov-08 3:25
Hamid_RT23-Nov-08 3:25 
GeneralRe: access violation exception dump debug Pin
Cedric Moonen22-Nov-08 21:54
Cedric Moonen22-Nov-08 21:54 
GeneralRe: access violation exception dump debug Pin
George_George22-Nov-08 22:03
George_George22-Nov-08 22:03 
GeneralRe: access violation exception dump debug Pin
Cedric Moonen22-Nov-08 22:11
Cedric Moonen22-Nov-08 22:11 
George_George wrote:
How to check "whether your class instance is valid"?


As I explained in my previous message: at the point of the crash (so when you assign the variable), check the call stack and go one level higher (so at the point where you call the function on your class instance). There check if the pointer is valid. Of course this is only the case if you are working with a pointer to your class.

If that's not the problem, then you have to post some more explicit code because it is almost impossible to help you.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: access violation exception dump debug Pin
George_George22-Nov-08 22:19
George_George22-Nov-08 22:19 
GeneralRe: access violation exception dump debug Pin
Cedric Moonen22-Nov-08 22:35
Cedric Moonen22-Nov-08 22:35 
GeneralRe: access violation exception dump debug Pin
Code-o-mat23-Nov-08 1:17
Code-o-mat23-Nov-08 1:17 
AnswerRe: access violation exception dump debug Pin
Stephen Hewitt23-Nov-08 1:39
Stephen Hewitt23-Nov-08 1:39 
QuestionCTreeCtrl's expand button become small Pin
throne88822-Nov-08 16:50
throne88822-Nov-08 16:50 
QuestionWhat happen when i use functions exported from a dll?? ( low level ) Pin
franco nero22-Nov-08 14:40
franco nero22-Nov-08 14:40 
AnswerRe: What happen when i use functions exported from a dll?? ( low level ) Pin
Saurabh.Garg22-Nov-08 17:03
Saurabh.Garg22-Nov-08 17:03 
GeneralRe: What happen when i use functions exported from a dll?? ( low level ) [modified] Pin
Jijo.Raj23-Nov-08 0:46
Jijo.Raj23-Nov-08 0:46 
AnswerRe: What happen when i use functions exported from a dll?? ( low level ) Pin
Mark Salsbery22-Nov-08 20:39
Mark Salsbery22-Nov-08 20:39 
AnswerRe: What happen when i use functions exported from a dll?? ( low level ) [modified] Pin
Jijo.Raj23-Nov-08 1:04
Jijo.Raj23-Nov-08 1:04 
Questioni need some expert design guidelines for realtime 3D graphics application Pin
atillaselem22-Nov-08 12:49
atillaselem22-Nov-08 12:49 
QuestionUNICODE support suggetions required Pin
krishnakumartm22-Nov-08 8:55
krishnakumartm22-Nov-08 8:55 
AnswerRe: UNICODE support suggetions required Pin
Code-o-mat22-Nov-08 9:33
Code-o-mat22-Nov-08 9:33 
AnswerRe: UNICODE support suggetions required Pin
Mark Salsbery22-Nov-08 20:41
Mark Salsbery22-Nov-08 20:41 
AnswerRe: UNICODE support suggetions required Pin
CPallini22-Nov-08 22:16
mveCPallini22-Nov-08 22:16 
QuestionHow to strip special chars from a CString? Pin
Larry Mills Sr22-Nov-08 4:07
Larry Mills Sr22-Nov-08 4:07 
QuestionRe: How to strip special chars from a CString? Pin
David Crow22-Nov-08 12:25
David Crow22-Nov-08 12:25 

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.