I am trying to use madExceptPatch.exe to activate madExcept in my executable.
In my Delphi project, the wizard is turned off (enable madExcept is not checked).
In the .mes file, i have ReportLeaks=0 (I assume this is the line that controls the leak check activation because when I uncheck "report ressource leaks" in the wizard this is the parameter that gets changed in the .mes file).
When I run the following, madExcept's exception handling becomes activated, however the leak checking also becomes activated and I do not understand why.
Code: Select all
madExceptPatch.exe PTest.exe ../../PTest.mes
The madExcept and LeakChecking conditional are not present in my project.
In madExcept configuration, the 3 options are unchecked (adjust project uses clause, adjust compiler & linker options, adjust conditional defines).
In my dpr the first units used are
Code: Select all
madExcept,
madLinkDisAsm,
madListHardware,
madListProcesses,
madListModules,
Code: Select all
[GeneralSettings]
MesVersion=4
HandleExceptions=0
LinkInCode=1
AppendMapFileToBinary=1
NoOwnMadExceptSettings=0
CheckFileCrc=0
CheckForFrozenMainThread=0
FreezeTimeout=60000
ReportLeaks=0
WindowsLogo=0
CrashOnBuffer=0
CrashOnUnderrun=0
Can you help me with this issue please?
Thanks!