View Single Post
Old 03-11-2010, 03:18 PM   #13
Soundbytes
Human being with feelings
 
Soundbytes's Avatar
 
Join Date: May 2006
Posts: 58
Default Bugfix

Hi,
I found that Cubase LE 3 did not really like my code. (it worked fine with Cubase 5 and with all other hosts that I have tried so far)

When the plugin is loaded for the first time Cubase 3 tries to do some tests. It creates a plugin instance then calls setSampleRate() (which in turn triggers an IPLug Reset() )
This is where my thread process is started. The Plugin object is now destroyed and unfortunately my thread function is then executed right after the underlying object has gone away. Bang!

I have now fixed the issue. The thread class example a few posts above contains the updated code.

Andreas
__________________
www.soundbytes.de
Soundbytes is offline   Reply With Quote