Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Registering File Extensions Pin
David Crow7-Apr-06 9:14
David Crow7-Apr-06 9:14 
QuestionFile Load/Save Windows Pin
Bob X7-Apr-06 7:20
Bob X7-Apr-06 7:20 
AnswerRe: File Load/Save Windows Pin
Waldermort7-Apr-06 7:31
Waldermort7-Apr-06 7:31 
GeneralRe: File Load/Save Windows Pin
Bob X7-Apr-06 7:50
Bob X7-Apr-06 7:50 
GeneralRe: File Load/Save Windows Pin
David Crow7-Apr-06 8:24
David Crow7-Apr-06 8:24 
QuestionRelease build problem Pin
Waldermort7-Apr-06 6:42
Waldermort7-Apr-06 6:42 
AnswerRe: Release build problem Pin
Ravi Bhavnani7-Apr-06 6:57
professionalRavi Bhavnani7-Apr-06 6:57 
GeneralRe: Release build problem Pin
Waldermort7-Apr-06 7:07
Waldermort7-Apr-06 7:07 
I have already tried this. When declaring the berror variable I origionaly set it to false. Though thinking this may be a cause of the problem I removed it and instead set it to false in the IDOK handler.

Like I said in my post, bError is false right up until the final test, where for some reason it is being set to true. The problem lies here somewhere
if ((strlen(exam) > 0) && (!bError) ) {
}
else if (!bError) {
    MessageBox(hwnd,"Please enter an exam name!",0,0);
    SetFocus(GetDlgItem(hwnd,SD_MERGE_EXAM));
    bError = true;
}
However the "Please enter an exam name!" is never shown, suggesting the bError = true; line is never executed either.
GeneralRe: Release build problem Pin
Richard Andrew x647-Apr-06 7:30
professionalRichard Andrew x647-Apr-06 7:30 
GeneralRe: Release build problem Pin
Waldermort7-Apr-06 7:34
Waldermort7-Apr-06 7:34 
GeneralRe: Release build problem Pin
Waldermort7-Apr-06 7:39
Waldermort7-Apr-06 7:39 
GeneralRe: Release build problem Pin
Richard Andrew x647-Apr-06 7:45
professionalRichard Andrew x647-Apr-06 7:45 
GeneralRe: Release build problem Pin
Waldermort7-Apr-06 8:13
Waldermort7-Apr-06 8:13 
GeneralRe: Release build problem Pin
koothkeeper7-Apr-06 8:46
professionalkoothkeeper7-Apr-06 8:46 
Questionstatic Variable Pin
Gupta Suraj7-Apr-06 6:29
Gupta Suraj7-Apr-06 6:29 
AnswerRe: static Variable Pin
Richard Andrew x647-Apr-06 6:40
professionalRichard Andrew x647-Apr-06 6:40 
AnswerRe: static Variable Pin
ThatsAlok7-Apr-06 9:35
ThatsAlok7-Apr-06 9:35 
GeneralRe: static Variable Pin
ThatsAlok7-Apr-06 19:26
ThatsAlok7-Apr-06 19:26 
QuestionTipps on report Writing Pin
Laughing Buddha7-Apr-06 6:26
Laughing Buddha7-Apr-06 6:26 
AnswerRe: Tipps on report Writing Pin
Waldermort7-Apr-06 6:50
Waldermort7-Apr-06 6:50 
QuestionConvert BIG CString to int Pin
BigDan347-Apr-06 5:57
BigDan347-Apr-06 5:57 
AnswerRe: Convert BIG CString to int Pin
RChin7-Apr-06 6:12
RChin7-Apr-06 6:12 
GeneralRe: Convert BIG CString to int Pin
BigDan347-Apr-06 6:18
BigDan347-Apr-06 6:18 
GeneralRe: Convert BIG CString to int Pin
ThatsAlok7-Apr-06 19:34
ThatsAlok7-Apr-06 19:34 
GeneralRe: Convert BIG CString to int Pin
BigDan348-Apr-06 3:22
BigDan348-Apr-06 3:22 

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.