Does anyone know of a good article about shrinking EXE sizes?
-
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage
-
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage
-
lets see... you could use an executable compressor like UPX for instance. Once you compile it run upx and compress your executable. get it here
sorry about the link... get it at www.upx.sourceforge.net
-
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage
What about using the Windows Template Library, it's on SourceForge now here: Windows Template Library[^] - Nick Parker
My Blog | My Articles -
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage
Shrinking the size of an MFC app in VC++ 7.x is difficult. In VC++ 6.0, you could get it down to about 160k but not much more than that. Since it's dialog based, I'd consider just converting it to a standard windows app and taking the parts of afxinet.h that you need. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage
If you want to keep it small then I think you should avoid using MFC.... write a simple application without them... Did you compiled your app using the static MFC library version? You cannot hope that who will use your installed has already the MFC Dlls
-
I am writing a web download installer and need to make it as small as possible. A lot of MFC is a black box to me so I am not sure which pieces I can hack out and still expect the program to behave as expected. It is currently 210 KB and I only wrote a thousand or so lines of source code (including comments). There is only 1 window and it is a dialog-based app. It does use the file open common dialog box and afxinet.h Thanks!
//placeholder for witty verbiage