Link to home
Start Free TrialLog in
Avatar of jexd99
jexd99

asked on

exe sizes.....

Can small exe's be made with Delphi? (by "small" I mean less than 50k).  I placed some code in the *.dpr that does file i/o, then removed the "createform" line, yet still the exe size is 200k. Is there a way to make the exe size small?
Thanks
Avatar of jexd99
jexd99

ASKER

Also, the only thing in the uses clause is   Sysutils, Dialogs;

ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
... You can use the API function MessageBox as a replacement for MessageDlg.

Cheers,

Raymond.
Avatar of jexd99

ASKER

It looks like I need to use api for everything (i.e. file i/o - findfirst, reading, writing).  I don't use forms, and I don't use the application object... still 200+k in size.

Avatar of jexd99

ASKER

Dialogs is a hog itself....... mission accomplished :-)