Page 1 of 1

Leak reporter not working in Windows 7/XP

Posted: Thu Feb 08, 2018 6:25 am
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.

Re: Leak reporter not working in Windows 7/XP

Posted: Mon Feb 12, 2018 6:49 pm
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.

Re: Leak reporter not working in Windows 7/XP

Posted: Mon Feb 12, 2018 9:13 pm
by brian
Oh I didn't know these had to be deployed for the memory leak report. Thank you!