MFC of vs2010 generate a very large exe file - by wwwray

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


3
0
Sign in
to vote
ID 469785 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 6/23/2009 11:25:57 PM
Access Restriction Public

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.
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.