Michael Schnell wrote:
On 05/03/2012 11:11 AM, Mark Morgan Lloyd wrote:
specifically did not encapsulate an explicit thread,
Without a dedicated thread the GUI events are not handled and thus you can't have a dedicated Form at all.

Yes, but what if the form was actually declared in the main program? Could code resident in a DLL (and called from the main thread) interact with the form to e.g. set up main- or context-menu entries, or at least work around the memory manager issues sufficiently to be able to return strings representing menuitem captions and entry points representing click handlers? And could the handlers then interact with the main-program form(s)?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to