Hi
When hosting plugins (i’m using vst on windows right now), I’m trying to put the plugin editors inside a component and put that component in a ViewPort.
This way I was hoping that the plugin-uis would stay on top of the main window and that I could fit more of them in by using the scroll bars of the view port.
Anyway, what is happening is that the plugin-ui displays fine for the first plug but when I try to view a second plug I get an exception.
What is the best way to do what I want to achieve? Do I need to use some special window classes here?
The UIs show fine if I only have one open at the time.
I know that this is probably due to me doing something stupid/wrong but here is the error anyway:
[code]
Opening VST UI: The Plugin
First-chance exception at 0x0132c496 in Plugin Host.exe: 0xC00000FD: Stack overflow.
First-chance exception at 0x75603610 in Plugin Host.exe: 0xC0000005: Access violation reading location 0x00000010.
*** An Access Violation occurred in “x:\juceLib\extras\audio plugin host\Builds\VisualStudio2010.\Debug\Plugin Host.exe” :
The instruction at 0000000074D64F0D tried to read from an invalid address, 0000000000000010
*** enter .exr 000000000026D390 for the exception record
*** enter .cxr 000000000026CEA0 for the context
*** then kb to get the faulting stack
Unhandled exception at 0x75603610 in Plugin Host.exe: 0xC000041D: An unhandled exception was encountered during a user callback.[/code]