As I thought. I would say that even in NZ with it's much maligned internet infrastructure, I think your concern is unwarranted and the hoops you may have to jump thru possibly not worth the effort.
Whilst it's possible to do what you need without using Forms, you may find over time that this self imposed constraint becomes more and more difficult to stick to. If it were me I would use Forms and not worry about the additional 360KB or so (your installer is likely to add more bloat to the overall download size than the Forms unit and the VCL do, so in proportion that addition is likely to be negligible). From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 26 January 2010 1:18 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages Using D7, mine grows from 100k to around 500k. The size is important for loading speed and also the final installer package size. Since my software is download only, I always try to keep the download size as small as possible. Ross. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Tuesday, 26 January 2010 10:24 a.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages I wouldn't expect that at all. I forget the details of why, but using the Forms unit unavoidably drags in a whole host of VCL code. This is easily tested, just try compiling: program Vacuum; begin end. And you get an EXE of 22KB. Simply adding a "uses Forms;", even without referencing anything from the Forms unit in the "code" and your equally non-functional vacuum.exe "explodes" to 382KB (BDS2006). Having said that, 382KB is not exactly excessive "bloat" in my book. So my question for the original poster is what criteria is it that demands that the executable absolutely has to avoid this overhead? From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Tuesday, 26 January 2010 9:55 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] manually process Windows messages I would expect if you specify Forms (to get Application.ProcessMessages) and only call that and nothing else from Forms then you will only get what functions are needed linked into your application - I suggest you try it and see how much bigger it makes the application. John I've looked at what Application.ProcessMessages does but I'm not sure what I need to get this working. Any thoughts appreciated, or some code J. Thanks, Ross. Tauranga. _____ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe