Quote:
Originally Posted by Youlean
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.