Apologies if this has already been discussed, I didn't see it in my search.
I have a small program that used to compile into a 190 kb Exe, now it compiles into a 385 kb Exe.
None of the program compiler setting are checked when I compile it.
I'm using version 4.40.
Anyone know what the cause of this is?
Executable size
Executable size
When all is said and done, more is said than done.
Re: Executable size
Did you switch from 32bit to 64 bit?
- Michael Vogel
- Addict
- Posts: 2810
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Executable size
Your size delta is much more than I can see here (Win 32 Bit), so the sizes may differ dramatically when using 64 bit or on other platforms...
So more information may help to get some ideas about the size increase: do you use certain libraries or image en/decoders etc.?
Michael
So more information may help to get some ideas about the size increase: do you use certain libraries or image en/decoders etc.?
Michael
Re: Executable size
This is a small size increase (20 kb) by using the 2DDrawing lib, but not a such big one !
Re: Executable size
fsw, I'm using 32 bit 4.40.
I've removed some code I wasn't really using (in development) but that still only got it down to 352 kb.
very strange I even went as far as removing all commented out code even though it's my understanding that commented code is excluded.
Still no luck.
I've removed some code I wasn't really using (in development) but that still only got it down to 352 kb.
very strange I even went as far as removing all commented out code even though it's my understanding that commented code is excluded.
Still no luck.
When all is said and done, more is said than done.
Re: Executable size
ok, I found a backup dating back to when it compiled into a 146 kb Exe.
I'm going to do a file compare to see what the difference is as well as compile that program using 4.40 and see what size I get.
I'm going to do a file compare to see what the difference is as well as compile that program using 4.40 and see what size I get.
When all is said and done, more is said than done.
Re: Executable size
OK here's what I found.
Most of the change in size was due to:
When I compiled it with 4.40 I got 213 kb.
Good thing I keep backups and I have WinMerge and this forum to get help!
Thanks everyone.
Most of the change in size was due to:
- Feature creep (compared source files with WinMerge)
- The original Exe was older than I thought
- Changes in the 2DDrawing lib (28 kb)
When I compiled it with 4.40 I got 213 kb.
Good thing I keep backups and I have WinMerge and this forum to get help!
Thanks everyone.
When all is said and done, more is said than done.