CDebugReportHook::SetHook

 

Call this method to start sending debug reports to the named pipe.

Syntax

void SetHook( ) throw( );

Remarks

Calls _CrtSetReportHook2 to have debug reports routed through CDebugReportHookProc to the named pipe. This class keeps track of the previous report hook so that it can be restored when RemoveHook is called.

Requirements

Header: atlutil.h

See Also

CDebugReportHook Class