Check VST version of a plugin?

Started by SoundMike, 12 Feb '25 - 06:11

SoundMike

BASS_VST doesn't support VST 3, so is there a way I can check the VST version of a plugin?

Falcosoft

#1
Quote from: SoundMike on 12 Feb '25 - 06:11BASS_VST doesn't support VST 3, so is there a way I can check the VST version of a plugin?

1. The most obvious difference is that VST3 plugins have .vst3 extension while VST 2.x plugins do not have special extension (.dll on Windows etc.).
2. On Windows with the help of GetProcAddress() you can check the exports of the plugin:
GetPluginFactory() export means VST3.
VSTPluginMain() export means VST 2.4
main() export means VST 2.3 and lower.

Be aware that most VST 2.4 plugins export both VSTPluginMain() and main() so you have to check VSTPluginMain() first.

 

SoundMike

Thanks, Falcosoft. The plugins I search for are limited to files with extensions .dll or .vst2. It's the .dll's that are the problem. I wish I could find a simpler solution as my code is in PureBasic. Are you saying that a VST2 plugin (such as Krush.dll) will contain the function VSTPluginMain() or main()?

Falcosoft

Quote from: SoundMike on 13 Feb '25 - 04:48Thanks, Falcosoft. The plugins I search for are limited to files with extensions .dll or .vst2. It's the .dll's that are the problem. I wish I could find a simpler solution as my code is in PureBasic. Are you saying that a VST2 plugin (such as Krush.dll) will contain the function VSTPluginMain() or main()?
Yes, VST 2.x plugins are sure to contain VSTPluginMain() or main(), or both depending on version.
BTW, you can check the exports of a dll with the help of Nirsoft's DLL Export Viewer:
https://www.nirsoft.net/utils/dll_export_viewer.html

And it seems you can import native OS function in PureBasic:
https://www.purebasic.fr/english/viewtopic.php?t=76965

SoundMike


Quick Reply

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview