<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV>I know that some people asked about this before. But it isn't clear
enough for me :-) So. Is it possible to include forms or other lcl graphic
component in a DLL so, for example, a DLL function can create or modify a
form?<BR>If it is not possible... There any initiative or way to try to
participate and code it to get it?<SPAN class=593132614-08082011><FONT
face=Arial color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=593132614-08082011></SPAN> </DIV></BLOCKQUOTE>
<DIV><SPAN class=593132614-08082011><FONT face=Arial color=#0000ff
size=2>Generally speaking, no. The LCL in the dll comes with it's own
messagepump and you can have only one per process. What works for me: a
</FONT></SPAN><SPAN class=593132614-08082011><FONT face=Arial color=#0000ff
size=2>modal form created in a dll. Modal forms are kind of "exclusive" for
the process and having 2 message pumps isn't a problem. There is an issue
when the dll is called from MFC. Details and workaround here: <A
href="http://bugs.freepascal.org/view.php?id=19327">http://bugs.freepascal.org/view.php?id=19327</A>.</FONT></SPAN></DIV>
<DIV><SPAN class=593132614-08082011><FONT face=Arial color=#0000ff size=2>OSX
requires the patch attached to <A
href="http://bugs.freepascal.org/view.php?id=19253">http://bugs.freepascal.org/view.php?id=19253</A>.
</FONT></SPAN></DIV>
<DIV><SPAN class=593132614-08082011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=593132614-08082011><FONT face=Arial color=#0000ff
size=2>Ludo</FONT></SPAN></DIV></BODY></HTML>