Incbin question

BlitzMax Forums/BlitzMax Beginners Area/Incbin question

I know that with Incbin you can embed an extern files into a executable file.

However -- is there any way for *another* program to easily load to load these embedded resources as well?

For example, program1.exe embeds some images. is there a way for program2.exe to 'easily' load these same embedded images as well?

This could be useful for say a game add-on expansion that is self-contained, but loads (parts of) its image data out of the main executable of the orginal version, both cutting down on the filesize needed for the update, and requiring a dependency on the original game.

Alternatively, it could also be helpful if a future update of BMax might have the option to store the incbin'ed information to a stand-alone 'container' file in addition to the current behaviour of embedding them into the actual .EXE. (Kind of what Molebox does, you can choose either method)

If it's another Max program you might be able to just pass a pointer to the IncBin'ed image? I haven't tried it but it might work.