Leak reporter not working in Windows 7/XP

delphi package - automated exception handling
Post Reply
brian
Posts: 45
Joined: Fri Feb 29, 2008 11:12 am

Leak reporter not working in Windows 7/XP

Post by brian »

Is there a known issue with the leak report not showing up with the app running in Windows 7? using latest madExcept.

Edit: tested with a new Forms app, just enabled madexcept, enabled leak reports, compiled. After closing the app in W10 the dialog shows up (no leaks found), but nothing comes up in either Windows 7 or XP.
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Leak reporter not working in Windows 7/XP

Post by madshi »

The "active error search" options in madExcept require the "madExcept32.dll". On your development PC madExcept will automatically locate that DLL because madExcept is fully installed there. But if you want to do leak checking on another PC, you have to distribute madExcept32.dll with your application. If you don't do that, the leak reporting feature will simply be silently disabled. In addition to the DLL, you may also want to distribute the madExceptViewer.exe, so you get the report shown in a nice dialog. Otherwise you'll just get a report in a text file.

Also, the "active error search" options currently only work for 32bit Delphi projects, not yet for 64bit EXEs/DLLs.
brian
Posts: 45
Joined: Fri Feb 29, 2008 11:12 am

Re: Leak reporter not working in Windows 7/XP

Post by brian »

Oh I didn't know these had to be deployed for the memory leak report. Thank you!
Post Reply