I am planning to release and deploy an application, written in C++ and wxWidgets. The wxWidgets-library is available as dll and as well as static library. Therefore, i have the option to deploy the application as dynamic built application or as static build.
Currently, i prefer the static-build option, because:
Question
Did i miss something very important?
You should use dynamic linking when there is a good reason to use it and static linking otherwise. Some good reasons to use dynamic linking are:
If neither of these reasons apply, e.g. you just want to distribute a single program under MSW, static linking is simpler and so preferable.
A related note: if you do end up distributing wxWidgets DLLs, consider using a unique suffix for them instead of "custom" used by default, this will reduce the chances of confusion between your DLLs and some other version of wx.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With