Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem Using CString Pin
Mark Salsbery15-Nov-06 18:04
Mark Salsbery15-Nov-06 18:04 
GeneralRe: Problem Using CString Pin
David Crow16-Nov-06 2:46
David Crow16-Nov-06 2:46 
AnswerRe: Problem Using CString Pin
David Crow15-Nov-06 6:57
David Crow15-Nov-06 6:57 
AnswerRe: Problem Using CString Pin
Maximilien15-Nov-06 8:21
Maximilien15-Nov-06 8:21 
AnswerRe: Problem Using CString Pin
George L. Jackson15-Nov-06 10:53
George L. Jackson15-Nov-06 10:53 
AnswerRe: Problem Using CString Pin
CoffeeAddict1915-Nov-06 17:31
CoffeeAddict1915-Nov-06 17:31 
AnswerRe: Problem Using CString Pin
Hamid_RT15-Nov-06 18:41
Hamid_RT15-Nov-06 18:41 
QuestionVC++ MFC multi dialog application - crash Pin
sdt2415-Nov-06 6:11
sdt2415-Nov-06 6:11 
I am producing a mobile application using embedded VC++ 4 which contains multiple dialogs.

It was intended to step through the dialogs using a next button which would open the next dialog and close the current dialog. Also a previous button which does a similar thing.

The code used to open the next and close current is

Class2 dlgClass2(this);
nRetCode = dlgClass2.DoModal();
CDialog::OnCancel();

And for the previous button on the dlgClass2 button
Class1 dlgClass1(this);
nRetCode = dlgClass1.DoModal();
CDialog::OnCancel();

However by continually selecting next on the dlgClass1 and previous on dlgClass2 the application crashes after the 11th or 12th attempt.

Does anyone know please why this is happening? Are you able to close the current dialog or does it need to remain open?

Note also posted this on the mobile development section.

SDT


SDT
AnswerRe: VC++ MFC multi dialog application - crash Pin
Roger Stoltz15-Nov-06 6:30
Roger Stoltz15-Nov-06 6:30 
QuestionRe: VC++ MFC multi dialog application - crash Pin
David Crow15-Nov-06 6:59
David Crow15-Nov-06 6:59 
AnswerRe: VC++ MFC multi dialog application - crash Pin
Raj Prathap15-Nov-06 18:57
Raj Prathap15-Nov-06 18:57 
GeneralRe: VC++ MFC multi dialog application - crash Pin
David Crow16-Nov-06 2:43
David Crow16-Nov-06 2:43 
GeneralRe: VC++ MFC multi dialog application - crash Pin
sdt2416-Nov-06 5:39
sdt2416-Nov-06 5:39 
QuestionRe: VC++ MFC multi dialog application - crash Pin
David Crow16-Nov-06 6:45
David Crow16-Nov-06 6:45 
AnswerRe: VC++ MFC multi dialog application - crash Pin
sdt2420-Nov-06 2:14
sdt2420-Nov-06 2:14 
QuestionodbcDataReader error Pin
priyank_ldce15-Nov-06 6:10
priyank_ldce15-Nov-06 6:10 
AnswerRe: odbcDataReader error Pin
Mark Salsbery15-Nov-06 6:56
Mark Salsbery15-Nov-06 6:56 
QuestionExcel Automation Using C++ #import Pin
Doug Knudson15-Nov-06 5:15
Doug Knudson15-Nov-06 5:15 
AnswerRe: Excel Automation Using C++ #import Pin
Roger Stoltz15-Nov-06 5:47
Roger Stoltz15-Nov-06 5:47 
GeneralRe: Excel Automation Using C++ #import Pin
Doug Knudson15-Nov-06 6:39
Doug Knudson15-Nov-06 6:39 
GeneralRe: Excel Automation Using C++ #import Pin
Roger Stoltz15-Nov-06 6:57
Roger Stoltz15-Nov-06 6:57 
QuestionHow can we get size of the File.... Pin
Anamika200515-Nov-06 5:05
Anamika200515-Nov-06 5:05 
AnswerRe: How can we get size of the File.... Pin
VonHagNDaz15-Nov-06 6:22
VonHagNDaz15-Nov-06 6:22 
GeneralRe: How can we get size of the File.... Pin
Anamika200515-Nov-06 19:51
Anamika200515-Nov-06 19:51 
GeneralRe: How can we get size of the File.... Pin
Anamika200515-Nov-06 19:52
Anamika200515-Nov-06 19:52 

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.