[exerb-eng:0038] Re: Win2K EXE fails on WinXP - non-included file?

Back to archive index

Yuya Kato yuya****@katod*****
Mon Feb 2 11:05:02 JST 2004


Hi,

On Sun, 1 Feb 2004 08:50:12 -0700
"Rich" <rich****@lithi*****> wrote:

> So the question is - how do I tell exerb that it needs to package a certain
> folder/file into the EXE, and will the EXE look inside itself to get that
> image file?
Exerb does not take into consideration except
scripts and extension-libraries fundamentally.
But if you need a data file, you can contain it
into EXE by the following recipe.

  add_data_binary	foo	bar/baz.txt

And you can get the data file as StringIO object.

  p(Exerb.open('foo')) #=> #<StringIO:XXXXXXXX>

====== Yuya Kato ======
E-Mail yuya****@katod*****
   Web http://nuance.cc/
i-mode http://nuance.cc/i/




More information about the exerb-english mailing list
Back to archive index