Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: difference between CComPtr and IPin* Pin
CPallini3-Mar-08 3:47
mveCPallini3-Mar-08 3:47 
QuestionProblem while convesion from Float to int using VC++ 6.0 Pin
Kishore JP3-Mar-08 2:55
Kishore JP3-Mar-08 2:55 
GeneralRe: Problem while convesion from Float to int using VC++ 6.0 Pin
David Crow3-Mar-08 3:02
David Crow3-Mar-08 3:02 
GeneralRe: Problem while convesion from Float to int using VC++ 6.0 Pin
CPallini3-Mar-08 3:06
mveCPallini3-Mar-08 3:06 
GeneralRe: Problem while convesion from Float to int using VC++ 6.0 Pin
jhwurmbach3-Mar-08 3:09
jhwurmbach3-Mar-08 3:09 
AnswerRe: Problem while convesion from Float to int using VC++ 6.0 Pin
Kishore JP16-Mar-08 1:20
Kishore JP16-Mar-08 1:20 
GeneralRe: Problem while convesion from Float to int using VC++ 6.0 Pin
jhwurmbach16-Mar-08 22:19
jhwurmbach16-Mar-08 22:19 
Generalprocesses Pin
duta3-Mar-08 2:16
duta3-Mar-08 2:16 
QuestionRe: processes Pin
David Crow3-Mar-08 3:06
David Crow3-Mar-08 3:06 
GeneralRe: processes Pin
Hamid_RT3-Mar-08 21:06
Hamid_RT3-Mar-08 21:06 
QuestionCANCEL BUTTON Pin
Adnan Merter3-Mar-08 1:17
Adnan Merter3-Mar-08 1:17 
QuestionRe: CANCEL BUTTON Pin
CPallini3-Mar-08 2:59
mveCPallini3-Mar-08 2:59 
QuestionRe: CANCEL BUTTON Pin
David Crow3-Mar-08 3:07
David Crow3-Mar-08 3:07 
QuestionRe: CANCEL BUTTON Pin
Adnan Merter3-Mar-08 3:57
Adnan Merter3-Mar-08 3:57 

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.