Thread: IPlug - Youlean
View Single Post
Old 04-30-2017, 01:07 AM   #96
Anomaly
Human being with feelings
 
Anomaly's Avatar
 
Join Date: Sep 2007
Posts: 642
Default

Quote:
Originally Posted by Youlean View Post
You are using ycairo_base somewhere and you are not calling ycairo_base::bind_to_lice. That's why you have this bug. Can you check this out?
I'm using the "IPlugEffect" from examples folder as a template. If ycairo has been used, it must be in the framework itself. In fact ycairo_base is used in "IPlug_include_in_plug_src.h" at line 27. The "ycairo->bind_to_lice(pGraphics);" appears in IPlugBase.

The crash seem to go away if I add minimal gui elements:

IGraphics* pGraphics = MakeGraphics(this, kWidth, kHeight);
pGraphics->AttachPanelBackground(&COLOR_GRAY);
AttachGraphics(pGraphics);

Of course I can comment the line:
"#define USING_YCAIRO" in IPlugBase.h
or declare pGraphics but not attach it to circumvent the problem.
__________________
___________________________
Sonic Anomaly | free JSFX & VST Plugins

Last edited by Anomaly; 04-30-2017 at 01:17 AM.
Anomaly is offline   Reply With Quote