Leak reporter not working in Windows 7/XP

delphi package - automated exception handling

Leak reporter not working in Windows 7/XP

Postby brian » Thu Feb 08, 2018 6:25 am

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.
brian
 
Posts: 38
Joined: Fri Feb 29, 2008 11:12 am

Re: Leak reporter not working in Windows 7/XP

Postby madshi » Mon Feb 12, 2018 6:49 pm

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.
madshi
Site Admin
 
Posts: 9830
Joined: Sun Mar 21, 2004 5:25 pm

Re: Leak reporter not working in Windows 7/XP

Postby brian » Mon Feb 12, 2018 9:13 pm

Oh I didn't know these had to be deployed for the memory leak report. Thank you!
brian
 
Posts: 38
Joined: Fri Feb 29, 2008 11:12 am


Return to madExcept

Who is online

Users browsing this forum: No registered users and 4 guests