Code: Select all
void __fastcall TForm1::MyHandledException(const _di_IMEException exceptIntf,
bool &handled)
{
MessageBox(0, "test", "test", 0);
handled=false;
}
void __fastcall TForm1::Button1Click(TObject *Sender)
{
RegisterHiddenExceptionHandler(&MyHandledException, stDontSync);
__try
{
throw Exception("Error");
}
catch(...){};
}
Please help me. What i do wrong?
PS. Using madExcept 3.0b under BCB6.