Why is the executable file so large?
Mumble. There are three answers to this. One: It’s not my fault! Two: Oh well, I could do better. Three: Everyone else is cheating (well, they often are). It’s not my fault. Every serious application written using Borland’s Visual Component Library – be it a Delphi or a C++ program – is going to be about a megabyte in size, or more. This is part of the price paid for the convenience and reliability that the VCL affords a programmer. It would be possible not to use this library and write a complete program using only Windows API calls. Such a program would be extremely tight and lean, but coding this way would take years (literally) and would be immensely difficult. There are still programming wizards who work this way, and they certainly deserve a lot of respect. I’m just not one of them. I could do better. What can I say, I’m learning things as I go, and often I may not be choosing the optimal way of doing things. When I do optimize, I choose to optimize for speed rather than the size