When you store data files in the project directory and compile the program those files are contained within the resulting .gambas executable. From within the program they can be accessed as though they were in the current directory. Is it possible to access (read only) those files using a command executed by Shell? For example:
Shell "cat ./FileInProject" I'm making a very simple SoundFont previewer that calls fluidsynth with the passed SoundFont and a MIDI file embedded in the project/executable. I could load the embedded file then write it to the user's /tmp directory and pass that to fluidsynth, but won't if I don't have to. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user