Click here to Skip to main content
15,886,798 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Maximilien10-Feb-06 2:44
Maximilien10-Feb-06 2:44 
GeneralRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Jim Crafton10-Feb-06 6:38
Jim Crafton10-Feb-06 6:38 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
ThatsAlok13-Feb-06 21:34
ThatsAlok13-Feb-06 21:34 
Questionhow to access childframe data into childview Pin
sourabh27231810-Feb-06 2:23
sourabh27231810-Feb-06 2:23 
AnswerRe: how to access childframe data into childview Pin
David Crow10-Feb-06 2:38
David Crow10-Feb-06 2:38 
QuestionCrystal Report and ADO question ... Pin
Hadi Rezaee10-Feb-06 1:39
Hadi Rezaee10-Feb-06 1:39 
AnswerRe: Crystal Report and ADO question ... Pin
Hadi Rezaee10-Feb-06 6:09
Hadi Rezaee10-Feb-06 6:09 
QuestionWhen edit control is added to a dialog, application is crashing Pin
BiswaR10-Feb-06 1:21
BiswaR10-Feb-06 1:21 
I have a dialog box with id IDD_AGREE_FRAME_ABSTRACTION . This class's all cotrols are populated from the view class using one LoadDetails() function which is implemented inside the dialog class. I have added an edit box to this dialog. But when ever i am creating any variable of type:
1. CString and attaching it to the editbox through class wizard/manually. It's giving me a message "An unsupported operation was attempted". When i click that msg box the application is getting crashed.

2. CEdit then i am getting the message and the application is crashing.

When i am debugging the application the message box is coming in the DoDataExchange i for that particular entry for that editbox control.

I deleted the entry in the DoDataExchange for the control and just tried to set a its text by using GetDldItem(IDC_EDIT_BLDG_AGE)->SetWindowText("biswa") but again the application is crashing.

For all the cases when its crashing it's giving the error as "Unhandled exception in the app.exe(MFC42D.DLL):0x0000005: Access Violation."
I am really surprised why this is happening for this dialog where as for other dialog there is no problem when i do the same. Also when i am removing the the DDX_Text entry for the control causing the problem the whole application is running fine.

Please help me on this. This is really important for me. If you need any more information then just tell me i can give you the detail history for this.

AnswerRe: When edit control is added to a dialog, application is crashing Pin
toxcct10-Feb-06 1:38
toxcct10-Feb-06 1:38 
GeneralRe: When edit control is added to a dialog, application is crashing Pin
BiswaR10-Feb-06 2:42
BiswaR10-Feb-06 2:42 
GeneralRe: When edit control is added to a dialog, application is crashing Pin
_anil_10-Feb-06 4:26
_anil_10-Feb-06 4:26 
QuestionRe: When edit control is added to a dialog, application is crashing Pin
David Crow10-Feb-06 2:42
David Crow10-Feb-06 2:42 
AnswerRe: When edit control is added to a dialog, application is crashing Pin
BiswaR10-Feb-06 2:44
BiswaR10-Feb-06 2:44 
QuestionRe: When edit control is added to a dialog, application is crashing Pin
David Crow10-Feb-06 3:17
David Crow10-Feb-06 3:17 
QuestionHow to open notepad.exe Pin
hanno2510-Feb-06 0:57
hanno2510-Feb-06 0:57 
AnswerRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 1:11
Cedric Moonen10-Feb-06 1:11 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 2:19
hanno2510-Feb-06 2:19 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 2:22
Cedric Moonen10-Feb-06 2:22 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 2:32
hanno2510-Feb-06 2:32 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 2:37
Cedric Moonen10-Feb-06 2:37 
GeneralRe: How to open notepad.exe Pin
David Crow10-Feb-06 2:44
David Crow10-Feb-06 2:44 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 3:11
hanno2510-Feb-06 3:11 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 3:31
Cedric Moonen10-Feb-06 3:31 
GeneralRe: How to open notepad.exe Pin
toxcct10-Feb-06 2:24
toxcct10-Feb-06 2:24 
AnswerRe: How to open notepad.exe Pin
bolivar12310-Feb-06 3:52
bolivar12310-Feb-06 3: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.