Archive: Boost library in nsis plugin


Boost library in nsis plugin
Hi, Are there any pitfalls I should be aware of when using boost with nsis plugin (cpp)? I have to create a plugin for manipulating the sections order in ini files.


Boost uses the C standard library (MSVCRT) and IIRC it does not like static linking. Therefore depending on your Visual Studio version you will have dynamic linking with MSVCRT80, 90 or 100. You can check that this is the case using Dependency Walker. Depending on the dependencies, just bundle them in your installer.

Edit: If it only links to MSVCRT.dll then that is included with Windows so no need to bundle.

Stu


Thanks!