I have 2 problems with using Fl_Native_File_Chooser on Windows 7 (VS2008):

1) I include Fl_Native_File_Chooser_FLTK.H but it includes a header file called 
unistd.h (which is apparently for linux). I commented this out and it compiled 
fine after that.

2) After opening the file chooser like this:
Fl_Native_File_Chooser FileChooser( Fl_Native_File_Chooser::BROWSE_FILE );
if ( FileChooser.show() != 0 ) return;
The program crashes right after the file chooser dialog closes. According to 
visual studio:
"Stack around the variable 'FileChooser' was corrupted"
Am I doing something wrong?

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

Reply via email to