Jaxel
Member
The issue appears to be in the following code:
If I comment out that code, and instead run renderBitmap() from within the UpdateSettings(), I no longer get any crashes... of course, then my plugin is no longer animated; which defeats the entire purpose of the plugin... but at least it no longer crashes.
Any ideas on how to fix?
Code:
public override void Tick(float fSeconds)
{
Application.Current.Dispatcher.Invoke(new TickFunctionDelegate(renderBitmap));
}
If I comment out that code, and instead run renderBitmap() from within the UpdateSettings(), I no longer get any crashes... of course, then my plugin is no longer animated; which defeats the entire purpose of the plugin... but at least it no longer crashes.
Any ideas on how to fix?