PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Pedro Marquez on November 11, 2013, 06:29:38 PM

Title: Size dll
Post by: Pedro Marquez on November 11, 2013, 06:29:38 PM

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 ?
Title: Re: Size dll
Post by: Paul Squires on November 11, 2013, 10:33:14 PM
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? 
Title: Re: Size dll
Post by: Paul Squires on November 11, 2013, 10:40:02 PM
It is the inclusion of Jose's cWindow.inc file that cause an extra 14K.
Title: Re: Size dll
Post by: Pedro Marquez on November 12, 2013, 04:15:11 AM
Just asking out of curiosity,
really does not matter 20k extra
Title: Re: Size dll
Post by: Rolf Brandt on November 12, 2013, 04:19:40 AM
In case size would matter you could a Exe-/Dll Packer like UPX.

http://upx.sourceforge.net/

Rolf
Title: Re: Size dll
Post by: Pedro Marquez on November 12, 2013, 08:27:05 AM
upx I use it, is the best