mad£xcept not working in customer environment

delphi package - automated exception handling

mad£xcept not working in customer environment

Postby malc » Thu Nov 02, 2017 3:15 pm

We have built madExcept into a number of our applications and it's working fine on our development machines, but when our customer runs the applications and an exception is raised, it's just displaying the standard exception dialogs rather than madExcept. Any ideas why this might be? Our only thought at the moment is that our customer is in China and will be using a Chinese version of Windows - is this likely to have an effect?
Posts: 1
Joined: Thu Nov 02, 2017 3:10 pm

Re: mad£xcept not working in customer environment

Postby santiago » Fri Nov 03, 2017 3:07 pm

You might have a similar workflow as we do.
We developers compile our app from within the Delphi IDE -> madExcept installs an IDE plugin that runs madExceptPatch.exe automatically for you.

For our release builds we use MSBUILD. It is then necessary to manually run madExceptPatch.exe.
We have a japanese version of our software so I don't think the chinese Windows Version would have anything to do with it.

Refer to the FAQ:
Maybe that is your issue.

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.
Posts: 41
Joined: Thu May 05, 2016 6:01 pm

Re: mad£xcept not working in customer environment

Postby madshi » Thu Nov 09, 2017 3:26 pm

Is the same EXE file working for you on your development PCs and not working for your customers? Or are we talking EXE compiled on your dev PC works, but EXE compiled on build machine doesn't work (as suggested by santiago)?

Have you tried running your EXE file on a clean VM (with neither Delphi nor madExcept installed)? Does it work there?
Site Admin
Posts: 9472
Joined: Sun Mar 21, 2004 5:25 pm

Return to madExcept

Who is online

Users browsing this forum: No registered users and 6 guests