< I have a question about the size of the EXE file made by Delphi compiler. I thought that Delphi put in the exe ONLY the used procedures/functions from a unit/DCU. I was that wrong? >
You are almost right. The integrated linker of Delphi supports what Borland calls 'smart linking'. This meanse that only methods and routines that are actually used are included. These are: - routines actually called internally by the executable; - routines that are exported using 'exports' (in case the executable is a DLL); - methods that are exported via the COM interface. Nevertheless EXEs produced with Delphi are relatively large, also for small programs. This is because there's a lot of convenience implemented in the VCL that almost every program uses. Remember Delphi wasn't intended to create small programs, but the real stuff. And after all, who cares in these days where we no longer count the disk space in Mb, but rather in hundreds of Gb. Peter Laman Senior Software Engineer Lance ICT Group Roermond, the Netherlands http://www.lance-safety.com - "Nobody ever died of hard work", they say. But why take the risk? (Ronald Reagan) __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk