On 02/02/12 06:09, Forough Mehralian wrote: > hi >> why I encounter with a fatal error by adding this line: >> >> char *address; >> address = fl_file_chooser("where do you want to save", "", "sheet1.txt"); >
Works for me when I use it in a test program, eg: #include <FL/Fl.H> #include <FL/Fl_File_Chooser.H> int main() { char *address = fl_file_chooser("where do you want to save", "", "sheet1.txt"); printf("Address=%s\n", address ? address : "<CANCEL>"); return(0); } Perhaps the problem you're having depends on the context the call is being used. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk