Professional UI Solutions
Site Map   /  Register


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 » How to build static version of DLL Collapse All
Subject Author Date
Leon Miller Feb 6, 2007 - 5:17 PM

I would like to statically link my app to ProfUIS --trying to build the static version of the ProfUISDLL - I have read the FAQ and it seems to imply that this configuration exists in the project...but when I open the ProfUISDLL project there is no ’Static ...’ configuration. When I build my project with the Use of MFC : Use MFC in a Static Library I get a linker error: cannot open file ’ProfUIS254sm.lib’

I am using 2.54 (full) w/ VC 7.1...

Thanks for your help!

Suhai Gyorgy Feb 7, 2007 - 1:48 AM

The problem is that you are opening the wrong project. ProfUISDLL project contains all the build configuration for dynamically linked library(thus the DLL in name). All statically linked libraries can be built in the ProfUISLIB project. A quote from the Prof-UIS Build Configurations feature article:

"Supported Project Configurations
The following table lists the supported project configurations and corresponding library files. You can find configurations 1-12 in the ProfUISDLL project. After compiling the library using any of these configurations, you will get two files with .lib and .dll extensions, which you can further use in your project. All the static configurations 13-36 are defined in the ProfUISLIB project."