Hi,
I have an access violation problem in my project, I made a small example for
demonstration:
http://paste-bin.com/view/38d8960c

So there's class A, subclassed from Fl_Group, it has a button, thats
callback is using a virtual function, wich is implemented in class B
(subclassed from class A). The program compiles fine, but when you use the
button, it drops an Access Violation (same happens if I use Fl_Scroll
instead of Fl_Group, if I subclass A from a container I get this error I
guess).

In this second case, I changed the base of the A class, so it is now
subclassed from Fl_Button, and with the same callback everything wokrs fine,
the program exits after button press.
http://paste-bin.com/view/8d417487

This may be not an FLTK problem at all, my knowledge of classes have leaks,
but I am really starving for help here!
Thanks.
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to