Getting presets from a VST plugin


There are some plugins that doesn’t return the number of programs/presets when asked by getNumPrograms()
like Nexus, for example.
I can get the current program by using getCurrentProgramStateInformation(), but that’s only the current program.

Is there any way/workaround for the host to get the programs from the plugins??


If the plugin doesn’t return the correct number of programs then I’m not sure what we could do about it! You could mess around doing things like attempting to load every possible program number and seeing what happens, but if it’s a plugin bug, you’d be doing them a favour by reporting it rather than burdening your host with work-arounds.