Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » The size of statically linked executable Collapse All
Subject Author Date
Gevork Odabashyan Oct 12, 2006 - 10:57 AM

Hellow

Is there any way to decrease the size of an executable in static MFC - static Prof-UIS build configuration? After update Prof-UIS version from 2.54 to 2.60 the size of our application increased approximately from 5.25 MB to 7.15 MB. The usage of MDI tabs and dynamic control bars was added in new version of our application. Is this increase defensible? Or there is any way to decrease the size? Maybe there are some preprocessor directives which can do that?

Gevork Odabashyan Oct 12, 2006 - 11:00 AM

P.S. The size of our new code added to new version is approximatly 50 KB. No new features of MFC were used.

Suhai Gyorgy Oct 12, 2006 - 3:28 PM

Read this article: How to reduce the size of the Prof-UIS dll that I use in my project?. Although it is about dll, but I think it can also help reducing size of statically linked library.

Gevork Odabashyan Oct 13, 2006 - 3:24 AM

Thanks, Gyorgy! The size reduced greatly.

Technical Support Oct 13, 2006 - 8:16 AM

We have just updated the mentioned FAQ: you can also reduce the library size by excluding Office 2007 paint managers and unneeded language resources.

Gevork Odabashyan Oct 13, 2006 - 9:59 AM

After excluding unneded resources sized have reduced dramatically. Thanks for support!