MadExcept and CommandLine again

delphi package - automated exception handling
Post Reply
Lemmy
Posts: 2
Joined: Wed Jan 30, 2019 9:42 am

MadExcept and CommandLine again

Post by Lemmy »

Hello,

we use a Jenkins Build server. Our MadExcept exe is build with

dcc32.exe ... -D...;madExcept .... -GD .... -U"..madBasic\Delphi7";"..madDisAsm\Delphi7";"..madExcept\Delphi7";...

after that:

madExceptPatcher <exe> <map> <mes>
with output "map file appended"

But MadExcept didn't work - means the normal Exception-Messagebox is shown.

I don't now what I do wrong...

MadExcept-Units aren't part of the dpr. But with the conditional define dcc32 needs the madExcept-units. so I think this is ok?!?

Best regards
Wolfgang
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: MadExcept and CommandLine again

Post by madshi »

madExcept units should be in the dpr, at very top (only a custom memory manager should come before that). You can put an {$ifdef madExcept} around them. I don't know if that's the cause of the issue, though.
Lemmy
Posts: 2
Joined: Wed Jan 30, 2019 9:42 am

Re: MadExcept and CommandLine again

Post by Lemmy »

:crazy: thanks - it works...

Kaum macht man es richtig :-)

best regards
Post Reply