[Gambas-user] accessing "embedded" project files from Shell command

Kevin Fishburne kevinfishburne at ...1887...
Thu Aug 28 21:53:56 CEST 2014


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: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list