Make small .exe with little memory usage
Posted on 1999-06-30
If i compile a very little program like:
and then I study the exe file with ResourcenWorkshop or ShowDeep (which shows a list of the used WinAPI function of the .exe) then I see: Delphi has linked a lot of unused stuff to the .exe.
I know every Delphi program loads the Ole32.dll into the memory. That means: the little messagebeep() program will needs more than 1MB memory!
How to make small .exe (without unused resource like MAINICON, string table, Bitmaps..) which needs only little memory (without loading unused DLL's)? Should I start to learn VisualC :-( ?