[Lazarus] RE : Forms in DLL

Juan Sánchez aldeacity at gmail.com
Tue Aug 16 11:50:17 CEST 2011


Hello,

    this is the first very basic test:

Objects:
 - main app: basic win32 app.
 - dll with a form and a button to display a message box.

For this test, libdllform.dll is copied to libdllform1.dll to let in a test
be loaded and executed twice (with two dlls).

Result:

Main App disk size (stripped): 9K
DLL disk size (stripped): 1663K
App mem usage without dll link: 820K
App mem usage with dll linked and form: 4192K
App mem usage with dll linked and form with messagebox: 4196K
App mem usage with two dlls linked and forms: 7688K
App mem usage with two dlls linked and forms with messageboxex: 7692K

Juan.

2011/8/15 Marcos Douglas <md at delfire.net>

> 2011/8/15 Juan Sánchez <aldeacity at gmail.com>:
> > Hello,
> >
> >     here is the screenshot of a simple application in Win32 (in
> C++) calling
> > DLL with form made in Lazarus :-)
> >
>
> What about memory leaks. Have you tested?
>
> Marcos Douglas
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110816/a6be2f71/attachment-0003.html>


More information about the Lazarus mailing list