: Oops! Yes, you are right! I looked the size of the
: wrong file!! Sorry!
: : : Use MessageBox API function instead of MessageDlg and remove Dialogs units from the "Uses" section. This should reduce your program size at
: : : about the half.
: : :
: : : And...do you really need this form??
: : :
: : No it won't reduce its size. The default size for a Delphi GUI application is about 300 kB, because the form data and the streaming mechanism takes that much code and resources.
: : You can reduce it using run-time packages, but then you always need to have the vcl##.bpl and possibly other packages installed in the library search path. The ## is the version number of your Delphi, and depending on the version the vcl##.bpl will be several MB big.
thanks zibadian! u are right ;)
another thing about this code is that whenever there is no floppy-disk
in floppy-Drive first windows error system comes up and says insert a
disk,and then them message in my except section is displayed,how can i disable windows error system while my program is runing?