Exception not caught in Delphi 11.2 Alexandria 64 bit

delphi package - automated exception handling
madshi
Site Admin
Posts: 10567
Joined: Sun Mar 21, 2004 5:25 pm

Re: Exception not caught in Delphi 11.2 Alexandria 64 bit

Post by madshi »

Wow, thanks a lot for the fix, Zoë!! :crazy:
philipp.hofmann
Posts: 3
Joined: Mon Mar 04, 2019 6:36 am

Re: Exception not caught in Delphi 11.2 Alexandria 64 bit

Post by philipp.hofmann »

Hi,

I've tried to build this fix
a) I don't have FastMM4 installed so I can't compile the project.

b) Can you deliver the exe-file that has to be stored on my side?

c) Is the directory to store the exe
C:\Program Files (x86)\madCollection\madExcept\Tools
or do I have to create
C:\Users\Public\Documents\Embarcadero\Studio\22.0\Tools
as it's not existing?

Best regards, Philipp
philipp.hofmann
Posts: 3
Joined: Mon Mar 04, 2019 6:36 am

Re: Exception not caught in Delphi 11.2 Alexandria 64 bit

Post by philipp.hofmann »

I have compiled it now but it's still not working.
Do I have to compile it with the dpr-settings: Win32 + Debug?
Is the path C:\Users\Public\Documents\Embarcadero\Studio\22.0\Tools correct without any additional settings?
Why not ...\madCollection\madExcept\Tools?
Zoë
Posts: 3
Joined: Fri Jul 24, 2015 9:34 pm

Re: Exception not caught in Delphi 11.2 Alexandria 64 bit

Post by Zoë »

Certainly if your madExceptPatch.exe is somewhere else, put it there. I have everything checked in to version control rather than using the installer, and the path I gave is where I had to put it for the madExcept IDE expert to pick it up.

Create a file named madExceptWizard.txt on your desktop and when you run the app it should log details there. Try running it manually to see if that helps. The arguments are "madExceptPatch.exe <exe-to-patch> <.mes file>". Using a particular build environment shouldn't be necessary, but I didn't extensively test that.
philipp.hofmann
Posts: 3
Joined: Mon Mar 04, 2019 6:36 am

Re: Exception not caught in Delphi 11.2 Alexandria 64 bit

Post by philipp.hofmann »

Ok, it works now. As Madshi is installed into C:\Program Files (x86)\madCollection I had to copy it for the compile process to another directory (permission issue). But have to put the patched exe again in C:\Program Files (x86)\madCollection\madExcept\Tools. Thanks for your support.
Post Reply