[Lazarus] Form in DLL

Michael Schnell mschnell at lumino.de
Fri May 4 09:27:39 CEST 2012


On 05/03/2012 05:12 PM, Mark Morgan Lloyd wrote:
>
>> I do do this with Delphi,
> FOUL! :-)
Only for testing, of course. I have but the old free Turbo Delphi. ;-)
>>
>> AFAIK there is a page on this in the Lazarus Wiki.
> Is this what you're thinking of, or is there more that I've so far 
> overlooked?
> http://wiki.lazarus.freepascal.org/shared_library#Sharemem_implementation_details 
>

Yep.

My colleagues who are very professional Delphi programmers, very happily 
use this with Delphi:
http://sourceforge.net/projects/fastmm/

This memory manager makes many Delphi applications a lot  faster (it 
manages short, medium and big chunks separately, for "short" it 
allocates a pool of memory blocks of equal size that can be found by 
multiplying the number by a constant instead of walking a linked list). 
Moreover it allows for tracing and synchronizes DLL and main application 
memory managers.

I don't know if/how it can be used with Lazarus.

-Michael






More information about the Lazarus mailing list