Q: ToGo Resource

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Q: ToGo Resource

Steve Alan Waring
Hi,

What would be a good way to include icons (and bitmaps) in a ToGo exe?

I can only think of a hack: Storing the resources as byteArrays in the
sessionManager and saving them out to the temporary directory on startUp.

Any thoughts?
Thanks,
Steve


Reply | Threaded
Open this post in threaded view
|

Re: ToGo Resource

Blair McGlashan
"Steve Waring" <[hidden email]> wrote in message
news:[hidden email]...
> Hi,
>
> What would be a good way to include icons (and bitmaps) in a ToGo exe?
>
> I can only think of a hack: Storing the resources as byteArrays in the
> sessionManager and saving them out to the temporary directory on startUp.
>
> Any thoughts?

We agree this is a good idea, but time is very pressing.

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: ToGo Resource

Blair McGlashan
"Blair McGlashan" <[hidden email]> wrote in message
news:[hidden email]...
> "Steve Waring" <[hidden email]> wrote in message
> news:[hidden email]...
> > Hi,
> >
> > What would be a good way to include icons (and bitmaps) in a ToGo exe?
> >
> > I can only think of a hack: Storing the resources as byteArrays in the
> > sessionManager and saving them out to the temporary directory on
startUp.
> >
> > Any thoughts?
>
> We agree this is a good idea, but time is very pressing.

As a follow up, two possible solutions (one much more work than the other
are):

1) Edit the resources of a custom "to go" stub (see the thread "Small
request about icons").
2) Subclass the relevant classes and store the bytes internally, overridding
the necessary realization methods to construct the bitmap/icon from the
bitmap bytes. Of course this is a much larger undertaking.

Regards

Blair