EXE file sizes
I''ve got MSVC++ Standard edition (70 bux) and I was wondering about file sizes. I see games like the "Test Engine" I found on the board which actually load stuff, display it, and let you move around and are only 60kb. My simple windows apps (loads up a window, writes some text, and stays until WM_DESTROY) are about 300k. WTF!?
Dare wa neko o koroshiteimasuka? (Ha! Learn Nihongo!)
"Now watch as I run away in a womanly fashion." - Batman
Compiling your application in release mode should easily half the size of the executable.
-RWarden (roberte@maui.net)
-RWarden (roberte@maui.net)
This is because you''re building in DEBUG mode. Switch to Release mode, and the files will be smaller.
Interestingly enough, the point of Debug mode is to make it possible to debug your application. This huge bloated file size incorporates all the information that VC++ needs to find out what is being assigned to what, where memory leaks are occuring, and what variables have what values at a certain point.
Release mode, they ''recommend'' should only be used when you are distributing the app. After all, people won''t need debug info when they''re playing the game.
You can customize each build configuration under Project->Settings, and change the active build mode by going Build->Set Active Configuration. Simple, huh?
========
Smidge
www.smidge-tech.co.uk
========
Release mode, they ''recommend'' should only be used when you are distributing the app. After all, people won''t need debug info when they''re playing the game.
You can customize each build configuration under Project->Settings, and change the active build mode by going Build->Set Active Configuration. Simple, huh?
========
Smidge
www.smidge-tech.co.uk
========
--Mr Smidge
August 09, 2000 09:44 AM
quote: Original post by Sponge99
Dare wa neko o koroshiteimasuka? (Ha! Learn Nihongo!)
Are you really from Japan? If you were you woudn''t put some stupid comment just to show off your japonese. I mean I''m an exchange student from Japan and see lots Japonese wannabes here in my Univercity.
And yes I''ve got a PS2 and it looks awsome.
Anonymous: Yeah, I am from Japan. My parents are in the military so I moved here. And I am learning Japanese.
The rest of you helpful people: thank you. I thought it was cause I was using the standard edition of the program. That would have really torked me off, but now I know. Thanks alot!
Dare wa neko o koroshiteimasuka? (Ha! Learn Nihongo!)
The rest of you helpful people: thank you. I thought it was cause I was using the standard edition of the program. That would have really torked me off, but now I know. Thanks alot!
Dare wa neko o koroshiteimasuka? (Ha! Learn Nihongo!)
"Now watch as I run away in a womanly fashion." - Batman
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement