Hi,

In the 1.3 branch's Fl.cxx @ line 493 there is a call to OleUninitialize that 
is causing problems in Qt based apps that use Csound.

In the process of loading and compiling Csound input files, the dynamic FLTK 
libraries are sometimes loaded and unloaded without any FLTK windows being 
created, so OleInitialize (or CoInitialize) never gets called.  This does not 
stop FLTK from calling OleUninitialize in the Fl_Win32_At_Exit destructor, 
though, which means the OleUninitialize call gets paired to Qt's OleInitialize 
call instead of FLTK's.  The immediate result is that the Qt app can no longer 
set data on the system clipboard after running Csound.  The app also becomes 
unstable and crashes when alt-tabbing back and forth to another window.

Is there a way to work around this issue?  Should I post a bug report?

Cheers,
~ andy.f
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to