Hi again, Using valgrind I've seemd to have fixed all the problems that were causing the crashes to occur. I'm surprised at how much I was able to get away with on Mac OS X. It's very shameful. My application still leaks a lot of memory, but it's due to leaks in libGL.
Anyway, thanks to everyone for your replies, Nicholas _______________________________________________ fltk mailing list [EMAIL PROTECTED] http://lists.easysw.com/mailman/listinfo/fltk

