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? If it is not possible... There any initiative or way to try to participate and code it to get it?
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 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: http://bugs.freepascal.org/view.php?id=19327. OSX requires the patch attached to http://bugs.freepascal.org/view.php?id=19253. Ludo
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
