# JUCE\_DLL issue

**URL:** <https://forum.juce.com/t/juce-dll-issue/3632>\
**Category:** General JUCE discussion\
**Created:** [February 5, 2009, 3:25pm UTC](https://forum.juce.com/t/juce-dll-issue/3632 "2009-02-05T15:25:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dheeraj](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Dheeraj](https://forum.juce.com/u/Dheeraj)\
**Post date:** [February 5, 2009, 3:25pm UTC](https://forum.juce.com/t/juce-dll-issue/3632/1 "2009-02-05T15:25:21Z")

</div>

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… 🙂

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 5, 2009, 4:19pm UTC](https://forum.juce.com/t/juce-dll-issue/3632/2 "2009-02-05T16:19:56Z")

</div>

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