Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unused routines still result in huge .EXE
#6
(07-22-2024, 03:03 PM)grymmjack Wrote:
(07-22-2024, 02:46 AM)dano Wrote: I was looking this weekend on how to better manage my libraries.  One thought was to include most of my common routines in a single large file and simply load that.  What I found was that this caused the .EXE file size to grow considerably.  I created a .BAS file that did nothing but a print statement and included this large library, of which zero routines were actually used.  The file size was huge compared to using a very small library, of which zero routines were used.

Is there a switch or setting that I can use that will cause unused SUBs and Functions to be excluded at compile time if they are not used?

You could try compressing the exe using upx.

https://upx.github.io/
Holy crap...I never knew this existed!  Very cool!
Reply


Messages In This Thread
RE: Unused routines still result in huge .EXE - by dano - 07-22-2024, 03:15 PM



Users browsing this thread: 1 Guest(s)