Hi
we are working on it…
here some technical informations…
We have to face to these issues:
- each plugin linked with static C-runtime use (independently of how many instance of it):
- 1 FLS when built under old compiler (Visual 2013),
- 2 FLS when built with Visual 2015 and newer.
=> Advantage: each plugin has its own memory heap… more stability
=> Disadvantage: FLS is limited to 128 per application, this is quite new due to new compiler and some strategy change in Windows
one solution is to link the plugins with the dynamic c-runtime libraries (c++ too):
- Advantage: only the first plugin instance with dynamic runtime will use 3 FLS, the next plugin not… no limit anymore…
- Disadvantage: all these plugins with dynamic runtime share the same Memory heap, this means that a plugin could corrupt an another, and that the memory could be highly fragmented…after a while, with unload and reload plugins… need more investigation…
- Disadvantage: on Windows 7 in some case (for example Windows not up-to-date), the installation of this Universal dynamic runtime libraries does not work, may be it makes sense to check if you use Windows 7 to install this universal runtime libraries (https://www.microsoft.com/en-us/download/details.aspx?id=48234)
Note:
currently the last VST 3 SDK, provided to plugins developers, uses the Dynamic Runtime by default for its examples…
hope it helps…and not too technical