different size of file
I'm trying to make a directx9 framework and referencing a old tutorial which is directx8. I have finished font part then I found a strange thing, the tutorial's compiled file was less than 500KB but my one is 1.44MB,
and I have a question that some retail game's execute file was less than 1MB, does it influence at performance or not and how can I make my execute file so small.
If you can make an executable less then 100K, then you'll gain about 5 times performance. That's the way Windows works. Use small memory model with your Win32 stuff. Tine memory model is even better, but it's hard to get it compile.
You probably have debugging information in your executable.
As for the Anonymous Poster, you're an idiot.
As for the Anonymous Poster, you're an idiot.
Quote:Original post by smart_idiot
You probably have debugging information in your executable.
I concur. Try compiling a Release build. That should reduce the size by quite a bit.
Quote:
As for the Anonymous Poster, you're an idiot.
I concur.
Edit: Runtime and Release both start with R's. Close enough... ;)
[Edited by - pi_equals_3 on September 29, 2004 6:32:05 PM]
No, I am not an idiot. You just don't know how Windows works. What are you talking about Runtime, there is no such think in Windows.
Also try linking to the DLL version of the standard library, this can significantly reduce exe size - it's the "Code Generation" option under "C++" in your project settings.
Eception handling also can add some 100 kb to your exe.
As for AP: As you seem to be serious, I don't want to trample on you (AP gets hurt everytime), but only give you a hint: you are using WAY OLD stuff, your DOS knowledge is outdated, you should REALLY switch to 32 bit systems. (Like Microsoft Windows 2000, which came out 5 years ago, or the even more recent Windows XP).
Just head out to microsoft.com, they have Windows XP Home Edition for few money. Also, you could buy a new computer, because they usually have Windows preinstalled, so you dont't have to fiddle with that.
Hope that helps.
Thermo/Konfu
As for AP: As you seem to be serious, I don't want to trample on you (AP gets hurt everytime), but only give you a hint: you are using WAY OLD stuff, your DOS knowledge is outdated, you should REALLY switch to 32 bit systems. (Like Microsoft Windows 2000, which came out 5 years ago, or the even more recent Windows XP).
Just head out to microsoft.com, they have Windows XP Home Edition for few money. Also, you could buy a new computer, because they usually have Windows preinstalled, so you dont't have to fiddle with that.
Hope that helps.
Thermo/Konfu
Quote:Original post by neocryptek
he means compile in release mode
-N30
Wow, thanks. I guess that's what I get for typing a post in a hurry and going to bed without reading it over.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement