BugReport: ShareMem vs System.ShareMem

delphi package - automated exception handling

BugReport: ShareMem vs System.ShareMem

Postby Sillicoid » Tue Aug 14, 2018 9:29 am

Hey, just want to inform you, that there seems to be a bug in the current madExcept-versions when using newer Delphi-Versions and custom-dlls.
When closing the application there is an exception in BORLNDMM.DLL.

This happens because the unit "ShareMem" has to be the first unit in the uses-part of the application. But when activating madexcept, it is registered "on top" of this unit what causes the problem.

I think this is a new issue, because with older delphi-versions this works fine, difference: ShareMem (old) vs System.Sharemem (new).
Just in case other developers using the new delphi versions get similar problems, just make sure, that System.ShareMem is on top or replace it with the old alias ShareMem only.
Sillicoid
 
Posts: 1
Joined: Tue Aug 14, 2018 9:23 am

Re: BugReport: ShareMem vs System.ShareMem

Postby madshi » Tue Aug 14, 2018 9:37 am

Thank you, I'll fix this for the next build.
madshi
Site Admin
 
Posts: 9774
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 3 guests