Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using multiple Dialogs withing a Dialog application Pin
Mark Salsbery3-Mar-08 12:05
Mark Salsbery3-Mar-08 12:05 
GeneralRe: Using multiple Dialogs withing a Dialog application Pin
jonsey298473-Mar-08 13:32
jonsey298473-Mar-08 13:32 
GeneralRe: Using multiple Dialogs withing a Dialog application Pin
Mark Salsbery3-Mar-08 14:02
Mark Salsbery3-Mar-08 14:02 
GeneralRe: Using multiple Dialogs withing a Dialog application Pin
jonsey298473-Mar-08 15:00
jonsey298473-Mar-08 15:00 
GeneralRe: Using multiple Dialogs withing a Dialog application Pin
Mark Salsbery3-Mar-08 20:53
Mark Salsbery3-Mar-08 20:53 
GeneralAdding items to the 'right-click'(title-bar) context menu of any application Pin
neil47813-Mar-08 8:50
neil47813-Mar-08 8:50 
GeneralRe: Adding items to the 'right-click'(title-bar) context menu of any application Pin
Mark Salsbery3-Mar-08 10:06
Mark Salsbery3-Mar-08 10:06 
QuestionAbout how many weeks are needed for a Simplified Version of Skype? Pin
eroy4u3-Mar-08 7:18
eroy4u3-Mar-08 7:18 
AnswerRe: About how many weeks are needed for a Simplified Version of Skype? Pin
led mike3-Mar-08 7:53
led mike3-Mar-08 7:53 
GeneralRe: About how many weeks are needed for a Simplified Version of Skype? Pin
Mark Salsbery3-Mar-08 9:29
Mark Salsbery3-Mar-08 9:29 
AnswerRe: About how many weeks are needed for a Simplified Version of Skype? Pin
David Crow3-Mar-08 10:23
David Crow3-Mar-08 10:23 
GeneralCall CMainFrame methold from dialog Pin
ptr_Electron3-Mar-08 4:39
ptr_Electron3-Mar-08 4:39 
GeneralRe: Call CMainFrame methold from dialog Pin
Randor 3-Mar-08 4:46
professional Randor 3-Mar-08 4:46 
GeneralRe: Call CMainFrame methold from dialog Pin
ptr_Electron3-Mar-08 22:12
ptr_Electron3-Mar-08 22:12 
GeneralRe: Call CMainFrame methold from dialog Pin
ptr_Electron3-Mar-08 22:52
ptr_Electron3-Mar-08 22:52 
GeneralRe: Call CMainFrame methold from dialog Pin
Randor 4-Mar-08 3:59
professional Randor 4-Mar-08 3:59 
GeneralRe: Call CMainFrame methold from dialog Pin
ptr_Electron4-Mar-08 5:16
ptr_Electron4-Mar-08 5:16 
GeneralCursor Pointers Pin
duta3-Mar-08 4:24
duta3-Mar-08 4:24 
GeneralRe: Cursor Pointers Pin
Mark Salsbery3-Mar-08 6:11
Mark Salsbery3-Mar-08 6:11 
GeneralCreating a graphic control within a DLL Pin
ilgale3-Mar-08 3:07
ilgale3-Mar-08 3:07 
GeneralRe: Creating a graphic control within a DLL Pin
CPallini3-Mar-08 3:23
mveCPallini3-Mar-08 3:23 
GeneralDebugBreak continue issue Pin
George_George3-Mar-08 2:58
George_George3-Mar-08 2:58 
Hello everyone,


I am trying the continue function triggered by JIT debugger. As mentioned in MSDN,

[url]http://msdn2.microsoft.com/zh-cn/library/h22dk1y6(en-us).aspx[/url]

--------------------
Continue
Allows execution to continue, giving the exception handler a chance to handle the exception. This option is not available for certain types of exceptions. Continue will allow the application to continue. In a native application, it will cause the exception to be rethrown. In a managed application, it will either cause the program to terminate or the exception to be handled by a hosting application.
--------------------

I write the following program to try this feature and expect when click continue, the __except code block is executed, but actually even the JIT debugger is not displayed to let us select debugger. Do you know why and how to fix it to make it have expected function (when click continue, execute exception handler code block)?

#include "Windows.h"

int main()
{
	int a;
	int b;
	int c;

	__try 
    {
	
		a = 100;
		b = 200;
		c = 300;

		DebugBreak();
		a = 400;
	
    }
    __except(GetExceptionCode() == EXCEPTION_BREAKPOINT ? 
             EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH) 
    {
        // No debugger is attached, so return FALSE 
        // and continue.
        return FALSE;
    }
	
    return TRUE;
}



thanks in advance,
George
Generaldifference between CComPtr <ipin> and IPin*</ipin> Pin
hanlei00000000093-Mar-08 2:56
hanlei00000000093-Mar-08 2:56 
GeneralRe: difference between CComPtr and IPin* Pin
CPallini3-Mar-08 3:12
mveCPallini3-Mar-08 3:12 
GeneralRe: difference between CComPtr and IPin* Pin
Alexander M.,3-Mar-08 3:27
Alexander M.,3-Mar-08 3:27 

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.