This has never worked. There was a time when you could put a form in a DLL and 
it would start okay (on Windows), but it wouldn't respond to keyboard inputs, 
as I recall. Now I can't even get a DLL containing a form to start without 
crashing the host app.

On Delphi this works fine and you just set the DLL form's Application.Handle to 
the calling app's Handle to integrate it with the main app.

I tested this with OS X recently too: same crash. Bottom line is that it 
doesn't appear as though you can put a form in a DLL with Lazarus. For now, 
it's best to use only non-UI units in the DLL code.

Thanks.

-Phil


-----Original Message-----
From: fvpats [mailto:[EMAIL PROTECTED]
Sent: Tue 6/26/2007 12:30 PM
To: lazarus@miraclec.com
Subject: [lazarus] LCL in DLL
 
hi,

i would like using lcl in a library (dll) but i didn't find any answer
anywhere (net, bugtracker fpc, ...)
does anyone know how doing this ?
thanks a lot

<<winmail.dat>>

Reply via email to