Click here to Skip to main content
15,883,749 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi i have a dll project that created in VC++ 2008. the released dll file of this project in size is 299 kb.
But, when i convert the project to VC++ 2010, this size is very large!!!

why visual studio 2010 generated dll size larger?
please help me to edit settings in VC 2010 to release a dll file in smaller size.
thanks
Posted
Comments
Sergey Alexandrovich Kryukov 6-May-14 2:46am    
Big deal. Of course, different versions. Why bothering so much about it? By the way, maybe you are using debug information in one case and no debug information in another one. Could it be the case?
—SA
Zon-cpp 6-May-14 3:14am    
no! i check it carefully.
both are in release mode and both are "Use MFC in a Static Library" in setting
Richard MacCutchan 6-May-14 3:09am    
Which settings do you think would be the ones to change?
Zon-cpp 6-May-14 3:16am    
i remember that created my project in VC++ 2008 with default settings
Richard MacCutchan 6-May-14 3:25am    
Then you need to check that you are using the same settings in VS2010. It's unlikely that anyone here can guess what your settings are.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900