On Mon, 13 Mar 2006, Mattias Gaertner wrote:
> On Mon, 13 Mar 2006 18:57:35 +0100
> "v.scozzaro '[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> wrote:
>
> > bobby ha scritto:
> > > Is it possible to have files in laz-resources, and to drop them to HDD
> > > at the run-time?
> > > Also, some kind of compression-decompression would be also welcome.
> > >
> > > Is there some good manual for using laz-resources?
> > >
> > >
> > >
> >
> > A designtime
> >
> > Not a runtime
>
> What do you mean?
>
> You can add and change lazarus resources at any time, as they are simple
> strings.
>
> If you want to include a file into an executable: use the lazres tool to
> create an lrs and include that.
As an alternative:
fpc contains 2 tools which do this for you, bin2obj and data2inc
They include any file as an array of bytes in your program.
This consumes less memory than the lazarus resources.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives