[Lazarus] Form in DLL

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 4 09:39:19 CEST 2012


On Fri, 04 May 2012 09:27:39 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> 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.

AFAIK the standard heap manager of FPC uses chunking too.

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


Mattias




More information about the Lazarus mailing list