Anirban wrote:

> I don't know whether this is a problem of C++ compiler or the fltk.
> 
> I was trying to access a global variable of the type (const char *) in a
> callback function, which(the global variable) was assigned a value through
> Fl_File_Input type widget. But when I tried to access it (the global
> variable) in another callback it showed a corrupted value.

Since your variable is a pointer, is et pointing to something that is also
global? Or is it calling to whatever was on the stack in your other
callback?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to