This problem may related to http://www.juce.com/forum/topic/heap-corruption-demo-plugin-host-after-loading-demo-plugi
Im now using VS2012. And when debugging any of my plugins through the Juce Demo Plugin Host, after unloading the DLL, the dbg-runtime detects Heap Memory Corruptions. This did not happen in older times, when using VS2008 and a older release of Juce.
Very hard to judge what could be causing that - using a different compiler will mean entirely different memory layout, and probably a different runtime, so it's hard to say it's something new. Could just have been that you didn't notice before. Haven't seen it myself, but I'll keep an eye out for it.
ntdll.dll!77700574() Unbekannt
[Unten angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für ntdll.dll]
ntdll.dll!776ba6ec() Unbekannt
kernel32.dll!76c514ad() Unbekannt
> Plugin.dll!_free_base(void * pBlock) Zeile 50 C
Plugin.dll!_unlock(int locknum) Zeile 366 C
The second line is something like “frames below are possibly incorrect and/or missing because no symbols have been loaded”.
Sometimes no C++ code is shown at all, but only sytem dll files.
It doesn’t happen if the debugger is attached by hand instead of the host being started from VS.