The Mac is easy to do...just put the image file in the resource fork as a data resource. Not sure about BeOS yet...should be do-able, but I'm still working on the port ;-) (Decided to redo the VM as a true OOP as opposed to trying to kludge it)
S
----------------------------------------------------------------------------------------------------- Serg Koren Principal VisualNewt Software, Makers of Newt'sPaper(tm): http://www.VisualNewt.com/ ----------------------------------------------------------------------------------------------------
On Monday, February 02, 1998 4:38 PM, Andreas Raab [SMTP:raab@isgnw.cs.Uni-Magdeburg.DE] wrote:
What if a Squeak VM file could recognize if an image file were simply appended to it, and do the right thing? Then it should take no more to make a double-clickable app than to do a save followed by a file copy.
Sounds good!
OS gurus: Can this be done simply on the Mac PPC, 68K, Windows, Unix, OS/2, etc?
I just tried appending stuff to an executable on Win95 and I could start it. It's not fully clear how to find the image in the executable and I also assume that a number of virus scanners will complain about undeclared data in the executable, but in general it looks as if it works.
Andreas
-- Linear algebra is your friend - Trigonometry is your enemy. +===== Andreas Raab ============= (raab@isg.cs.uni-magdeburg.de) =====+ I Department of Simulation and Graphics Phone: +49 391 671 8065 I I University of Magdeburg, Germany Fax: +49 391 671 1164 I +=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
squeak-dev@lists.squeakfoundation.org