BugReport: ShareMem vs System.ShareMem

delphi package - automated exception handling
Post Reply
Sillicoid
Posts: 1
Joined: Tue Aug 14, 2018 9:23 am

BugReport: ShareMem vs System.ShareMem

Post by Sillicoid »

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

Re: BugReport: ShareMem vs System.ShareMem

Post by madshi »

Thank you, I'll fix this for the next build.
Post Reply