This may not be an FLTK specific question. What I want to do on Windows is get the path to the executable so that I can save data files to a directory like APPPATH/DATA/ and also save a preference file to the APPPATH directory. It looks like that default path when saving files is whichever directory I have currently opened in Windows Explorer.
I would also like this code to work with Linux someday. If I remember correctly, in Linux you would want to save data into the users home directory, regardless of where the binary is installed. Anybody have any advice and/or example functions/code to look at? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

