Mastodon
Programmierung

MDI: MDI children in DLL?

>Is there any document teaching about the MDI Application call the child
>forms in DLL
>How can I put the child forms in DLL?

I’d strongly suggest you look into PACKAGES, instead of DLL’s.
Packages basically are DLL’s, with the added bonus that once they’re
loaded, you can use any class declarations in those packages as if
they were defined in your main app, and create instances thereof,
without any messy interfacing / trickery. Just load the package, and
create a form instance, and off you go!

Here are some articles on packages – hope they help!

Dynamically Load Components From Packages at Run-Time
by Dr. Bob (Bob Swart)
http://www.inquiry.com/techtips/delphi_pro/10min/10min0301-1.asp

Object Packages Enable Highly Modular Applications
by James Heyworth
http://www.obsof.com/delphi_tips/DL613.html

BPL vs. DLL
http://delphi.about.com/library/weekly/aa010901a.htm

Dynamic World of Packages
See how to store a Delphi form inside a BPL. Find out about
dynamically embedding forms into an application – building
applications your users can modify at runtime.
http://delphi.about.com/library/weekly/aa012301a.htm

Marc

[tags]Delphi, Forms[/tags]

0 Kommentare zu “MDI: MDI children in DLL?

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.