JUCE_DLL issue

Hi jules,
I tried using juce audio plugins demo (VST) as I plan to write some audio effects.
The problem I’m facing is that the demo plugin works fine when I used juce as static library, however, when i used juce library as a dll the application crashes in the destructor of the class JuceVSTWrapper which is in the file juce_VstWrapper.cpp.

juce::shutdownJuce_GUI(); //Crashes in this call.

Please give the solution… :slight_smile:

Well, ok, but where exactly is it crashing? Is there a stack trace?