Archived

This topic is now archived and is closed to further replies.

Viscous-Flow

Release mode executable size...

Recommended Posts

Hi, Is a ~420kb executable that was compiled in release mode normal? The program is 1800 lines though... Do you think it would be useful to implement dll''s? or is that not really necessary until the executable gets over a few megabytes? Thanks!

Share this post


Link to post
Share on other sites
implementing dlls has more to do with whether or not you can group your functions into logical libraries, rather than the size of the executable. for instance, you may want to make a dll for sound, another for graphics. for the most part though, a game of 1800 lines of code would have no need of external libraries, for it''s a small program.

a2k

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
something seems wrong here, are you including loads of resources (text,bmps,menus,dialogs) into the exe? because the current demo i am working on is a bit over 5000 lines of code and still only 220 KB excutable when compiled as release code. I bet you have some large library linked staticly. What does the program do?

- groof

Share this post


Link to post
Share on other sites