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 General Discussion » Statically linking,Static MBCS Debug, makes lib file 13 Meg., How to make it smaller? Collapse All
Subject Author Date
steven frierdich Feb 7, 2007 - 9:15 AM

When I statically link ,Static MBCS Debug, the library is around 13 M. Is there away I can limited this to alot smaller size. I am guessing most of it becuase of the uncomment of the __EXT_PROFUIS_STATIC_LINK_WITH_RESOURCES. By uncommenting this am I including the resources for every language?

Technical Support Feb 8, 2007 - 3:55 AM

The 13 Mb size can be reached only in debug versions. Release versions are at least two times smaller. You can decrease the size by removing unneeded components from the compiled library by uncommenting the lines like //#define __EXT_MFC_NO_*** in the ../Prof-UIS/Include/Prof-UIS.h file.

Suhai Gyorgy Feb 8, 2007 - 1:59 AM

There is a FAQ How to reduce the size of the Prof-UIS dll that I use in my project?. Although it mentions dll only, the same steps can reduce size of lib, as well.