I am developing a plugin, which gets its ID (magic, vendor etc.) in realtime at startup from outside (config file). I managed to do it pretty efficiently with AAX and AU wrappers, but i am stuck with VST3 wrapper.
Looking at the wrapper code, i can see all needed IIDs are defined statically (processors, controller, component).
DECLARE_CLASS_IID (JuceAudioProcessor, 0x0101ABAB, 0xABCDEF01, JucePlugin_ManufacturerCode, JucePlugin_PluginCode) DEF_CLASS_IID (JuceAudioProcessor) DECLARE_CLASS_IID (JuceVST3EditController, 0xABCDEF01, 0x1234ABCD, JucePlugin_ManufacturerCode, JucePlugin_PluginCode) DEF_CLASS_IID (JuceVST3EditController) DECLARE_CLASS_IID (JuceVST3Component, 0xABCDEF01, 0x9182FAEB, JucePlugin_ManufacturerCode, JucePlugin_PluginCode) DEF_CLASS_IID (JuceVST3Component)
If these could be dynamically defined/assigned inside GetPluginFactory() function, the problem would be solved. But obviously it doesn’t work that way.
Any VST3 expert with any idea or hint, how this could be solved or if it’s even possible to do with VST3 SDK.