C++ Static Builds on Windows

Support FAQ > Liquid XML Data Binding
1. Select the generated library in Visual Studio and select one of teh Static Configurations:
    Static Debug
    Static Unicode Debug
    Static Release
    Static Unicode Release

2. Add a preprocessor directive to the SampleApp to show static linkage is required:
    a. Open SampleApp Properties
    b. Select C++ Preprocessor options
    c. Change Preprocessor Definitions by adding an entry that matches the name of the generated library:
        e.g. WIN32;_DEBUG;_CONSOLE;myGeneratedLib_STATIC

3. Manually call the Register method as described in:
http://support.liquid-technologies.com/KB/a37/license-error-with-c-runtime-static-linkage.aspx

Add Feedback