Click here to Skip to main content
15,915,501 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem compiling the Source SDK Pin
kin37ik4-Jun-08 3:19
kin37ik4-Jun-08 3:19 
GeneralRe: Problem compiling the Source SDK [modified] Pin
Michael Schubert4-Jun-08 3:24
Michael Schubert4-Jun-08 3:24 
QuestionDelete subfolder Pin
mihai1234-Jun-08 2:43
mihai1234-Jun-08 2:43 
AnswerRe: Delete subfolder Pin
toxcct4-Jun-08 2:54
toxcct4-Jun-08 2:54 
AnswerRe: Delete subfolder Pin
_AnsHUMAN_ 4-Jun-08 2:56
_AnsHUMAN_ 4-Jun-08 2:56 
AnswerRe: Delete subfolder Pin
David Crow4-Jun-08 3:04
David Crow4-Jun-08 3:04 
GeneralRe: Delete subfolder Pin
mihai1234-Jun-08 3:14
mihai1234-Jun-08 3:14 
QuestionUpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 2:30
Trupti Mehta4-Jun-08 2:30 
Hello,

I have a SDI application for Win CE ARMV4I. From menu, I select an option & a dialog appreas which is a main dialog. On this dialog, other child dialogs are opened. Their are 7 instances of child dialogs. On a message command send by a child dialog, the previous dialog is destroyed, new is created & displayed.

On Child dialog 1, on the below lines:
AfxMessageBox(_T("Into OnGetData"));

UpdateData(true);

OperatorDetails od;

if (true) {
    m_operName = "Trial";
    UpdateData (false);
    AfxMessageBox(m_operName);
    EnableConfirm(true);
} else {
    m_operName = "";
    EnableConfirm(false);
}

od.~OperatorDetails();
UpdateData (true);


On above code in UpdateData, I get "ASsertionFailure" File dlgdata.cpp: line 52 error, I choose Retry/Ignore (Abort shuts down the window) & I get "An unsupported operation was attempted". I get this error 3 times when I am at the above lines, later it is again fine. The flow of error windows is like "Into OnGetData", "Assertion Failure", "An unsuported...", "Assertion Failure", "An unsuported...", "Trial", "Assertion Failure" & "An unsuported...". The error is not with EnableConfirm(), as I tried deleting the lines but the error still persists.

On coming of Child 2, I get "Out Of Memory" Error.

Can anyone tell me what is the error and why does this come like this. Any help is highly appreciated.

Thanks

Terry

AnswerRe: UpdateData - Out Of Memory - Serious problem Pin
David Crow4-Jun-08 3:05
David Crow4-Jun-08 3:05 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 5:12
Trupti Mehta4-Jun-08 5:12 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
David Crow4-Jun-08 5:38
David Crow4-Jun-08 5:38 
AnswerRe: UpdateData - Out Of Memory - Serious problem Pin
Jijo.Raj4-Jun-08 3:14
Jijo.Raj4-Jun-08 3:14 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 4:38
Trupti Mehta4-Jun-08 4:38 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Jijo.Raj4-Jun-08 8:30
Jijo.Raj4-Jun-08 8:30 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 21:33
Trupti Mehta4-Jun-08 21:33 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 21:58
Trupti Mehta4-Jun-08 21:58 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta5-Jun-08 2:47
Trupti Mehta5-Jun-08 2:47 
AnswerRe: UpdateData - Out Of Memory - Serious problem Pin
Artem Kustikov4-Jun-08 4:52
Artem Kustikov4-Jun-08 4:52 
GeneralRe: UpdateData - Out Of Memory - Serious problem Pin
Trupti Mehta4-Jun-08 5:15
Trupti Mehta4-Jun-08 5:15 
QuestionWhen second application runs first should be hidden Pin
VCProgrammer4-Jun-08 2:13
VCProgrammer4-Jun-08 2:13 
AnswerRe: When second application runs first should be hidden Pin
Jijo.Raj4-Jun-08 2:29
Jijo.Raj4-Jun-08 2:29 
AnswerRe: When second application runs first should be hidden Pin
Saurabh.Garg4-Jun-08 2:55
Saurabh.Garg4-Jun-08 2:55 
AnswerRe: When second application runs first should be hidden Pin
Hamid_RT4-Jun-08 21:11
Hamid_RT4-Jun-08 21:11 
QuestionCustom toolbars? Pin
Lord Kixdemp4-Jun-08 2:03
Lord Kixdemp4-Jun-08 2:03 
AnswerRe: Custom toolbars? Pin
_AnsHUMAN_ 4-Jun-08 2:07
_AnsHUMAN_ 4-Jun-08 2:07 

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.