I've never been able to run multiple instances of one of my home-made Pluggo plug-ins without crashing Cubase, so I finally sat down and spent about 10 hours tracing out the problem. I think I've finally isolated it, but now I'm left with an error message that I don't understand.
I narrowed the problem down to a single (albeit large... 26 pages of code) jsui object, and isolated that object out. Now when I run multiple instances of a plug-in with that object inside the vst~ object I get occasional errors in the Max window along the lines of:
"jsui error StretchDlBits error:0"
"jsui error StretchDlBits error:8"
"jsui error StretchDlBits error:6"
I have no idea what "StretchDlBits" means, but I think these errors are what crash Cubase. Can anyone translate?