[lazarus] How are we going to store component data?

Michael A. Hess mhess at miraclec.com
Wed Jul 21 12:09:57 EDT 1999


I know this is getting a little ahead of where we are in development but
I have been looking over the issue trying to figure out the best way to
do this. In Delphi the .dfm data is stored by the compiler in the
resource area of the executable. Then when a form is loaded the various
form specs. and attached components are read out of the resource data
and instances generated.

How are we going to do this with Free Pascal and the FCL???

Are we going to use a resource mechanism? Will the RAD part of the IDE
create a .dfm type file. I believe this would require compiler support.
Is there plans for a type of resource area with Free Pascal built
programs?

Or are we going to have the RAD generate FCL code that is included into
the file via an {$I ...} statement at the appropriate place?

I ask because I am planning on doing some experimenting with this. We
don't have the RAD yet to generate the file but I want to start the
design and layout of what the RAD needs to do.


-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list