>
> On May 22, 2007, at 10:07 AM, Jan Wojdziak wrote:
>
> > I'm developing a plug-in manager for an application. This is
> > written in vc++ and FLTK.
>
> Everything you describe seems to be fine. One thing comes to mind
> though: if your plugins call any FLTK code whatsoever, you must make
> sure that your plugin *and* you main application link with the FLTK
> *dll* version. If any component in your system links statically, you
> will generate multiple instances of FLTK which can not exchange any
> objects, pointers, or whatever else.
>
> Maybe you simply did not call redraw() after adding a child to an
> already visible group?
>
> Matthias
>
> ----
> http://robowerk.com/
>
>

I changed the projects settings and generated fltk2.lib (Version: 
fltk-2.0.x-r5697)as multi-threaded-dll and it is linked into the main 
application and the plugin.
Both are also generated with multi-threaded-dll in visual studio 2005.

I have tried to call redraw()in plug-in and in the main application too (on the 
group and on its parent()), but nothing happens.

Thanks, Jan


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to