FLTK logo

Re: [fltk.general] fl_file_chooser hitting cancel generates segmentation fault

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: fl_file_chooser hitting cancel generates segmentation fault matthiasm Jul 12, 2007  
 
On Jul 13, 2007, at 8:00 AM, Suja wrote:

> Pressing cancel on the file chooser window makes the program crash.  
> Could someone help me making the code not crashing, but just  
> returning to original Gui?
> char* *fl_file_chooser(const char *message,const char  
> *pattern,const char *fname, int relative = 0);
> char* chooserName = fl_file_chooser("Pick reference file to  
> load","*.*",0,0);
>
> I use fltk 1.1.7.

FLTK 1.1.7 is very stable and I did not get the fil chooser to crash  
in at least a years worth of testing. It is probably something in  
your code somewhere else.

But I'll be happy to help you out if it is an FLTK issue. What I need  
from you is a short, but complete pice of source code (one page),  
that compiles by itself, and a precise description how you make that  
program crash.

Matthias


----
http://robowerk.com/
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.