Janus wrote:
> your code works here, as a standalone application only. my code is
> basically the same but doesnt work in my app:
Since it seems to be a good indicator of a problem in your case,
try making my code a function in your app, and call that function
at the top of your main, and pepper calls to it at key points
throughout your app.
First: does it work OK at the top of your main, then suddenly
stops working at some other point in your code?
If so, you might have a wild pointer somewhere, or are calling
code that is walking on memory.
To get random data out of a directory list function, I imagine
there might be problems elsewhere.
BTW, if you're using 1.1.10, be sure to free the dlist somehow,
so that it doesn't leave lots of memory allocated. (This might
affect the behavior of your app, since it makes more and more
potentially wild memory become 'valid memory')
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk