Board index » delphi » FastMM problem with runtime packages
Aleksander Oven
![]() Delphi Developer |
FastMM problem with runtime packages2005-08-16 07:15:01 PM delphi236 I'm trying to use FastMM in my application, which consists of a main exe and a couple of dynamically loaded dlls, all of which are built with runtime packages. I put the FastMM4.pas unit in all projects' uses clauses and took care to set the correct patching order for madExcept, which is used in the exe, but not in the dlls. I enabled the AssumeMultiThreaded, ShareMM and AttemptToUseSharedMM conditional defines for all projects involved. The problem is that main exe loads and runs fine, but the dlls refuse to hook to shared FastMM. When main exe calls LoadLibrary, each of the dlls complains with the message "Cannot install FastMM4 - Another memory manager is already installed". What did I miss? TIA, Aleksander Oven |