Size dll

Started by Pedro Marquez, November 11, 2013, 06:29:38 PM

Previous topic - Next topic

Pedro Marquez


I have a dll test


FUNCTION suma ALIAS "suma" (n1 AS INTEGER, n2 AS INTEGER) EXPORT AS INTEGER
FUNCTION =n1+n2
END FUNCTION




pb/win ide - 6k
ff3 - 26k


¿ Is possible to reduce size ?

Paul Squires

FireFly sets up extra code for a DLL in order for the programmer to easily handle forms/controls. This type of code is always included and can not be toggled on or off. Is the extra 20K really that much? 
Paul Squires
PlanetSquires Software

Paul Squires

It is the inclusion of Jose's cWindow.inc file that cause an extra 14K.
Paul Squires
PlanetSquires Software

Pedro Marquez

Just asking out of curiosity,
really does not matter 20k extra

Rolf Brandt

In case size would matter you could a Exe-/Dll Packer like UPX.

http://upx.sourceforge.net/

Rolf
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Pedro Marquez

upx I use it, is the best