I'm struggling with this problem:
A class that I've built has 3 member variables, 13 variables that are associated with dialog controls and 13 member functions.
Starting from this point, if I try to add another member variable, of whatever type, with whatever name, it cause an error message when the program start: "unhandled exception in scena.exe 0xc000005: Access Violation". I can't explain this!
No problem if I add instead a member function, the application goes on working.
In InitInstance the class I've built is started this way:
CScenaDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
Can anyone help me?
thanks,
francesco
A class that I've built has 3 member variables, 13 variables that are associated with dialog controls and 13 member functions.
Starting from this point, if I try to add another member variable, of whatever type, with whatever name, it cause an error message when the program start: "unhandled exception in scena.exe 0xc000005: Access Violation". I can't explain this!
No problem if I add instead a member function, the application goes on working.
In InitInstance the class I've built is started this way:
CScenaDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
Can anyone help me?
thanks,
francesco