Resource Files (Was: Re: [GUI] More points for the technical discussion)

Krasimir Angelov
Mon, 17 Feb 2003 07:08:23 -0800 (PST)

--- Wolfgang Thaller <> wrote:
> On the other hand, it would be great to be able to
> store bitmaps and 
> other data in the .EXE file's resources on Windows,
> and in the 
> appropriate application wrapper on Mac OS, rather
> than cluttering the 
> application directory with many files.

I was recently planed to do this with Port. The Port
library has readBitmap function which takes the
FilePath and returns the Bitmap data type. My idea is
to use paths like "res://MyBitmap.bmp" for bitmaps
which are contained in the resource section of the
.EXE file. Under Linux/Unix the "res://" prefix can be
mapped to "/usr/shared/AppName/" or some similar
predefined path. 


Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day