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.
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.
Re: How can Reduce Final Exe of MFc dialog Based application?
use a runtime packer such as UPX