How to disable MadExcept on command line?

309 views Asked by At

I'm using Delphi 11 and using MadExcept to make things easier on development.

I have an automated procedure to deploy my apps using DCC32. I only want MadExcept to be enabled in debug / devolopment time, not on the release i send to my customers.

Is there a way to disable the setting below on the comand line, before compile with DCC32 ?

enter image description here

1

There are 1 answers

1
dougwoodrow On

I can't help but wonder why, however, are you sure madExcept is enabled when you use the command line compiler?

From the FAQ:

6. Why does madExcept not work when I use command line compiling?

madExcept needs to patch your binary file. When compiling from inside the IDE, madExcept's integrated IDE wizard does that patching automatically. When using command line compiling, you need to manually invoke the patching process by starting the tool "madExceptPatch.exe" after having compiled your project. The tool is located in madExcept's "Tools" folder. Please add the parameter "-gd" to the command line when calling the compiler to make sure that a detailed map file is created.