I tried using some of williamk’s code to bring in a VST effect
// Load VST // AudioPluginFormatManager::getInstance()->addDefaultFormats(); String errorMessage; PluginDescription PlugDesc; PlugDesc.pluginFormatName = T("vst"); PlugDesc.fileOrIdentifier =T("C:\\Audio\\VST\\dblue_Glitch_v1_3.dll"); AudioProcessorGraph::Node* node = 0; AudioPluginInstance* instance= AudioPluginFormatManager::getInstance()->createPluginInstance (PlugDesc, errorMessage); node = processorGraph.addNode(instance);
and it breaks on the last line, the content of errorMessage is “this plug-in file no longer exists”.
I’m assuming that I need to actually load this file into my program some how, and not just access it where it is? The file is there, I have checked in the File Explorer… or might it be a windows file access privilege issue?