The code works in Windows but on Mac it fails. I copied the following lines to the JUCE hello world application and it fails
void* pluginHandle = NULL;
pluginHandle = Process::loadDynamicLibrary( “/Users/ost/Library/Audio/Plug-Ins/VST/DelayEditGUI.vst” );
if ( pluginHandle != NULL )
Process::freeDynamicLibrary( pluginHandle );
In JUCE code GetDiskFragment returns -50 (paramErr) which is not very specific. Any idea why, did anybody use JUCE to load plugins?