Search found 22 matches
- Wed Sep 11, 2013 2:16 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks very much of your answers. It help us a lot. I would like to add a class exception in the class 'Except'. I would like that in this case the madExcept don't handle this exception and my personal code execute. I did it: with MadExcept.MESettings do begin Filter1Classes := 'Exception'; end; Do ...
- Wed Aug 14, 2013 8:41 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
If i need to disable the MadShi in runtime is secure use:
When my project start?
Code: Select all
MadExcept.PauseMadExcept(True);
- Wed Aug 14, 2013 8:27 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks very much. I'm going to read here.
- Wed Aug 14, 2013 12:44 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks, in the i change to: procedure setarDebugSilentMode; begin //----Seta as características do 'silent mode' if ((debug = 1)and(debugSM = 1)) then begin with MadExcept.MESettings do begin Filter1ShowSetting := ssNothing; Filter2ShowSetting := ssNothing; GeneralShowSetting := ssNothing; //---- Sh...
- Tue Aug 13, 2013 8:54 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks very much. In the case i build: procedure setarDebugSilentMode(const excpSM: IMEException); var Settings : IMEModuleSettings; begin //----Seta as características do 'silent mode' if ((debug = 1)and(debugSM = 1)) then begin Settings := MadExcept.MESettings(); with Settings do begin Filter1Show...
- Tue Aug 13, 2013 6:16 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
We would like to set the log in 'silent mode'. Basically, i would like to set the follow configurations: - Show email/upload progress box -> False - Show "please wait" box -> False - Exception Filter -> All other exception classes -> Don't show anything - Exception Filter -> All other exce...
- Tue Aug 13, 2013 1:40 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks around the block above i put: try Result := False; Application.CreateForm(TdmAppServer, dmAppServer); FormMain := TFormMain.Create(nil); try Result := (FormMain.ShowModal>=0); finally FreeAndNil(FormMain); end; except HandleException; end; And i set on the madshi to the DLL too and now appear...
- Mon Aug 12, 2013 11:22 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
In the case i have a EXE that call the DLL. I compiled the madshi with the DLL, but in the EXE that just call a DLL i didn't compiled with madshi. Have i to add the madshi in the EXE that call the DLL too?
- Mon Aug 12, 2013 8:42 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Is there some extra configuration in these case?
- Mon Aug 12, 2013 7:45 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks. In my case i generate a DLL to the project. I put the source of the Registers(above) in the first form created in the project. Follow: function ShowMainForm: boolean; stdcall; begin Result:=false; Application.CreateForm(TdmAppServer, dmAppServer); FormMain:=TFormMain.Create(nil); try Result:...
- Mon Aug 12, 2013 12:20 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Thanks very much.
Another question: If i copy the EXE/DLL of my project to another computer of test i have to put some DLL of the madshi together?
Another question: If i copy the EXE/DLL of my project to another computer of test i have to put some DLL of the madshi together?
- Sat Aug 10, 2013 1:43 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
I did a small correction: //Salva o arquivo de LOG s := TStringList.Create; try s.Text := excp.BugReport; s.SaveToFile(arq + '.log'); finally FreeAndNil(s); end; How Could i personalize this bugreport? I would like to save only the informations of the "general" and "call stacks" ...
- Fri Aug 09, 2013 8:25 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
I did: var debug : Integer; (...) //- http://help.madshi.net/madExceptUnit.htm //- http://help.madshi.net/MESettings.htm#IMEFields procedure ExceptionHandler(const excp: IMEException; var aHandled: boolean); var arq : string; begin aHandled := not(debug = 1); if debug = 1 then begin arq := ExtractFi...
- Fri Aug 09, 2013 6:59 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
I am testing using: var t : TStringList; begin try t.Add('Teste do MADSHI'); except MessageDlg('EXCEPTION AQUI!', mtError, [mbOK], 0); end; The code of RegisterHandler: //- http://help.madshi.net/madExceptUnit.htm //- http://help.madshi.net/MESettings.htm#IMEFields procedure ExceptionHandler(const e...
- Fri Aug 09, 2013 5:42 pm
- Forum: madExcept
- Topic: madExcept with TRY...EXCEPT
- Replies: 45
- Views: 47043
Re: madExcept with TRY...EXCEPT
Yes, it's for all exception. Thanks very much.