> how efficient is the Delphi compiler with regarding the uses clause?  If you
> have several units specified, does it link them all even though you may not
> use any functionality out of those units?  Next question, what is the
> minimal number of uses required to instantiate a DataModule?  There is a
> fairly good sized list up the top there, can you trim it back at all?

If code isn't used it isn't linked in... But... Most of the system units have
initialization clauses to setup globals and create objects.  These cause the
code to be marked as used and so needs to be linked in...

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to