BK8
June 25, 2014, 3:06am
1
Im trying to do a simple console vst scanner for windows but I dont understand how I´m supposed to send the formatToLookFor.
int main (int argc, char* argv[])
{
KnownPluginList list;
FileSearchPath path=FileSearchPath("C://Program Files (x86)//VstPlugins");
File file;
PluginDirectoryScanner sacanner=PluginDirectoryScanner(list,AudioPluginFormat& formatToLookFor,path,file);
//........
return 0;
}
help please;
jules
June 25, 2014, 10:26am
2
It's tricky to do a console scanner, because some annoying plugins try to pop up dialog boxes and other UI crap when you first open them. So you can do a scanner that runs from the console, but I think you'd need it to have an event loop running to handle these.
1 Like
BK8
June 25, 2014, 4:56pm
3
Thanks for the response, but how I´m supposed to instance a vst AudioPluginFormat or what Im supposed to send as
AudioPluginFormat& formatToLookFor to scan for vst plugins. Sorry I´m a begginer thanks for yor help.
jules
June 25, 2014, 11:19pm
4
You just give it an instance of whatever format you need to look for. You can look at the plugin host demo for an example of using those classes.