Home Dashboard Directory Help
Search

MFC of vs2010 generate a very large exe file by wwwray


Status: 

Closed
 as Won't Fix Help for as Won't Fix


3
0
Sign in
to vote
Type: Bug
ID: 469785
Opened: 6/23/2009 11:25:57 PM
Access Restriction: Public
0
Workaround(s)
view
3
User(s) can reproduce this bug

Description

A MFC exe project generate a exe file of 1616 kb when built with vc 2010. It generate a exe file of 482 kb when built with vc 2008.
Details
Sign in to post a comment.
Posted by Nikolay Raspopov on 12/31/2011 at 4:22 AM
No workaround in about 3 years! Please hurry!
Posted by HNordhaus on 4/29/2010 at 12:01 AM
We definitely need a workaround, too - and we need it fast.
Henrik
Posted by kollegin on 4/15/2010 at 4:12 AM
We heed workaround!
Posted by Microsoft on 6/29/2009 at 2:20 PM
Hello,

Thanks for the report. We investigated and found that your project is building with dynamic MFC (MFC in DLLs) in the Debug configuration and with static MFC (MFC in static library) in the Release configuration. If you want your EXE to be smaller, you should switch to using MFC in a DLL.

For a future release we will investigate whether there is a way to reduce the size of the executable when linking with the static MFC libraries. The static libraries in VS2008 SP1 and later are much larger because of all the additional features that have been added.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 6/24/2009 at 11:31 PM
Thanks for your feedback.

We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.
These specialized experts will follow-up with your issue.
Sign in to post a workaround.