Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: font size Pin
john563217-Nov-10 2:52
john563217-Nov-10 2:52 
QuestionRe: font size Pin
David Crow17-Nov-10 3:11
David Crow17-Nov-10 3:11 
AnswerRe: font size [modified] Pin
Richard MacCutchan17-Nov-10 9:06
mveRichard MacCutchan17-Nov-10 9:06 
QuestionPlease tell me whats wrong with function? Pin
Le@rner17-Nov-10 0:42
Le@rner17-Nov-10 0:42 
AnswerRe: Please tell me whats wrong with function? Pin
Stephen Hewitt17-Nov-10 0:55
Stephen Hewitt17-Nov-10 0:55 
AnswerRe: Please tell me whats wrong with function? PinPopular
Cedric Moonen17-Nov-10 0:57
Cedric Moonen17-Nov-10 0:57 
GeneralRe: Please tell me whats wrong with function? Pin
Le@rner17-Nov-10 1:00
Le@rner17-Nov-10 1:00 
GeneralRe: Please tell me whats wrong with function? Pin
Cedric Moonen17-Nov-10 1:06
Cedric Moonen17-Nov-10 1:06 
When the crash occurs, you can see the call stack window and double click on lines in the call stack. This will bring you to the line in question. Now, try to locate the crash somewhere in your code and put breakpoints (F9) before the line which crashes. Then you can step into the code and inspect the variables which are causing problems (here it seems it is a CString which seems corrupted). For instance you can verify that the strings are properly formated and valid pointers.
You can't expect doing any serious software development without using a debugger. When there's a crash like that, your first reflex is to first try to see which information you can extract with the debugger. Then, if you still didn't fix your problem and are still stuck, you can come and ask a question by providing the information from the debugger.
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

QuestionRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 1:21
mveCPallini17-Nov-10 1:21 
JokeRe: Please tell me whats wrong with function? Pin
Code-o-mat17-Nov-10 2:08
Code-o-mat17-Nov-10 2:08 
GeneralRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 2:16
mveCPallini17-Nov-10 2:16 
JokeRe: Please tell me whats wrong with function? Pin
Code-o-mat17-Nov-10 2:21
Code-o-mat17-Nov-10 2:21 
AnswerRe: Please tell me whats wrong with function? [modified] Pin
Alain Rist17-Nov-10 3:50
Alain Rist17-Nov-10 3:50 
GeneralRe: Please tell me whats wrong with function? Pin
CPallini17-Nov-10 5:26
mveCPallini17-Nov-10 5:26 
AnswerRe: Please tell me whats wrong with function? Pin
super17-Nov-10 2:23
professionalsuper17-Nov-10 2:23 
QuestionRe: Please tell me whats wrong with function? Pin
David Crow17-Nov-10 3:15
David Crow17-Nov-10 3:15 
Question#ifndef Pin
vidhyaej16-Nov-10 20:21
vidhyaej16-Nov-10 20:21 
AnswerRe: #ifndef Pin
Alain Rist16-Nov-10 21:04
Alain Rist16-Nov-10 21:04 
AnswerRe: #ifndef Pin
David Crow17-Nov-10 3:16
David Crow17-Nov-10 3:16 
QuestionHow can handle this exception? Pin
Le@rner16-Nov-10 19:00
Le@rner16-Nov-10 19:00 
AnswerRe: How can handle this exception? Pin
Alain Rist16-Nov-10 21:00
Alain Rist16-Nov-10 21:00 
GeneralRe: How can handle this exception? [modified] Pin
Le@rner16-Nov-10 21:06
Le@rner16-Nov-10 21:06 
GeneralRe: How can handle this exception? Pin
Cedric Moonen16-Nov-10 21:17
Cedric Moonen16-Nov-10 21:17 
GeneralRe: How can handle this exception? Pin
Alain Rist16-Nov-10 21:23
Alain Rist16-Nov-10 21:23 
GeneralRe: How can handle this exception? Pin
Le@rner16-Nov-10 22:41
Le@rner16-Nov-10 22: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.