|
-
February 26th, 2010, 11:30 PM
#1
How can Reduce Final Exe of MFc dialog Based application?
Hi all,
i am working on simple Dialog Based application in MFC,when i compile it its size is 2.5 MB,
than i use Relese option to comile it again but there is not so much change display in exe size.
so please help me how can i reduce the size of final exe in mfc dialog based application.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
-
February 27th, 2010, 02:05 AM
#2
Re: How can Reduce Final Exe of MFc dialog Based application?
Here are few general guidelines (not only for dialog-based applications):
- Use MFC as a shared DLL and not as a statically linked library;
- Do not keep large reources like big bitmaps in the executable;
- Use ASSERT macros to signal programmer mistakes;
- Use TRACE macros to display info for programmers;
- Avoid repetitive/redundant/not used code;
- Make DLLs;
- ...the list is open.
Last edited by ovidiucucu; February 27th, 2010 at 02:09 AM.
-
February 28th, 2010, 07:51 AM
#3
Re: How can Reduce Final Exe of MFc dialog Based application?
use a runtime packer such as UPX
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|