1

Topic: Why the program does not fall

Good afternoon I Write something like BOOL CMFCApplication1Dlg:: OnInitDialog () {CDialog:: OnInitDialog (); int *z = 0; *z = 1; int a = 1 / 1-1; return TRUE;//reset of value TRUE if focus is not transferred a control item} I Compile vc ++ 2013, win 7. The program does not fall under a debugger and at normal start. On my storage earlier the such led to appearance of the natural message "the program fulfilled unsupported operation and will be closed." That changed?

2

Re: Why the program does not fall

Hello, greydrone, you wrote: G> I Compile vc ++ 2013, win 7. The program does not fall under a debugger and at normal start. Someone intercepts a SEH-exception? G> on my storage earlier the such led to appearance of the natural message "the program fulfilled unsupported operation and will be closed." G> That changed? In new version MFC added handling of SEH-exceptions?

3

Re: Why the program does not fall

Look that was compiled. It is probable to drop your attempts were cut by the compiler.

4

Re: Why the program does not fall

int *z = 00; 00EF4F2B mov dword ptr [z], 0 *z = 1; 00EF4F32 mov eax, dword ptr [z] 00EF4F35 mov dword ptr [eax], 1 It is compiled all norms. It appears, the message on an exception is not present, since by default they are disconnected (debug-> exceptions-> win32 exceptions). Now the window appears but if to push continue, the program works indifferently.