Compile as static library?

Jan 23, 2014 at 8:03 PM
Hello, I am writing an dll and I want to remove the need for additional FW1FontWrapper.dll. How can I compile your project as an static library? Currently you have these options
// Define if building a DLL for the font-wrapper

// Define to use LoadLibrary instead of linking to DLLs
FW1_COMPILETODLL is only option which produces .lib(only 3kb?) file but it also produces FW1FontWrapper.dll file which I need to put in my main executable folder for my own dll to work.
Jan 24, 2014 at 4:21 AM
You have to change the project settings. In the project general settings, change the configuration type to Static library (.lib), instead of DLL.
However, I would recommend adding the source-files to your project that uses the wrapper instead, or at least make sure to compile the projects with the exact same settings (as they will be linked together and if both projects use the standard library those functions might potentially interfere with each other).