home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!network.ucsd.edu!ucsbcsl!mcl!scott
- From: scott@mcl.ucsb.edu (Scott Bronson)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Loading Resources into MF Temp Mem.
- Message-ID: <scott.711755847@mcl>
- Date: 21 Jul 92 21:57:27 GMT
- References: <1992Jul15.173135.13005@athena.mit.edu> <1992Jul16.195728.15866@dcs.qmw.ac.uk> <1992Jul17.044152.12630@pcnntp.apple.com>
- Sender: root@ucsbcsl.ucsb.edu
- Lines: 14
-
- If I recall, the original reson for pulling this huge resource into a small
- application heap was to draw a color about box with a PICT. If so, IM-V
- describes around page 90 or so how to spool a picture in from the disk.
- I was hoping someone who knows more about this than I would mention this,
- as the one time I tried to get this code to work I couldn't get it to stop
- crashing. I'm fairly certain that it was my fault, but as such, I don't
- feel like an expert with PICT spooling.
-
- You could probably rewrite GetPICTData to pull the opcodes in using partial
- resource calls, but, personally, I would just stick the PICT data into the
- application's data fork and spool from that using (almost?) the exact code
- from the book. Very compatible, suitably fast, and it's all in IM-V page 88.
-
- - Scott
-