.exe file size increased
-
I have a project on VC++ 6.0, the exe file generated out of that was 5 MB,But after conversion to VS2005 it's now 16 MB.what may be the reason? Any thing else is required to reduce the file size. Regards, KDevloper
In the linker settings,
disable Incremental Linking
. It can slim down your executable drastically. Try Removing unwanted libraries from project settings and check whether it can make any difference. Check this link about how to do it - http://weseetips.com/2008/03/28/how-to-remove-unwanted-libraries-from-project-settings/[^] Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
In the linker settings,
disable Incremental Linking
. It can slim down your executable drastically. Try Removing unwanted libraries from project settings and check whether it can make any difference. Check this link about how to do it - http://weseetips.com/2008/03/28/how-to-remove-unwanted-libraries-from-project-settings/[^] Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
Hey jijo, I have already followed the way it's there in your blog, But no it's not helping.. any other idea. Thanks&Regards, KDevloper
"disable Incremental Linking"
doesn't make any difference? I hope you've cleaned and rebuild your project. I've tried it in a sample visual studio 2005 project and i can see good result. Please check once again! Well, the MFC libraries are statically linked? that can increase your exe size.kDevloper wrote:
I have already followed the way it's there in your blog, But no it's not helping.. any other idea.
Oooh! You already read that one? :rolleyes: Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
"disable Incremental Linking"
doesn't make any difference? I hope you've cleaned and rebuild your project. I've tried it in a sample visual studio 2005 project and i can see good result. Please check once again! Well, the MFC libraries are statically linked? that can increase your exe size.kDevloper wrote:
I have already followed the way it's there in your blog, But no it's not helping.. any other idea.
Oooh! You already read that one? :rolleyes: Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
Yes, am cleaning and rebuilding this 500 bunch of files from last evening.. but i guess the "disable Incremental Linking" and code generation property change helped me to gte out of the problem.. ok thanks. U r posts in the blog is really useful. Regards, KDevloper.
-
Hey jijo, I have already followed the way it's there in your blog, But no it's not helping.. any other idea. Thanks&Regards, KDevloper
Well, did you checked - http://www.codeproject.com/KB/tips/reducesixeexe.aspx[^] It contains a few more improvement points. Have a look at it. Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
Yes, am cleaning and rebuilding this 500 bunch of files from last evening.. but i guess the "disable Incremental Linking" and code generation property change helped me to gte out of the problem.. ok thanks. U r posts in the blog is really useful. Regards, KDevloper.
-
Well, did you checked - http://www.codeproject.com/KB/tips/reducesixeexe.aspx[^] It contains a few more improvement points. Have a look at it. Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.