Path: utzoo!news-server.csri.toronto.edu!rutgers!att!news.cs.indiana.edu!ariel.unm.edu!nmsu!opus!ogden From: ogden@nmsu.edu (Bill Ogden) Newsgroups: comp.sys.mac.programmer Subject: How do I "handle" large resources? Message-ID: Date: 13 Mar 91 05:50:43 GMT Sender: news@NMSU.Edu Distribution: comp Organization: Computing Research Lab Lines: 17 Can some kind soul give me some help and tell me how to manage large resouce files? I have large PICT resources (aprox. 10k) and large 'snd ' resources (aprox. 7k) and would like to be able to show or play 60 of them (at least twice). What sequence of GetResource(), LoadResource(), ReleaseResource(), DisposHandle(), or CompactMem(), should I use to keep the heap from fragmenting and from running out of memory. I know this is too easy for many of you but I'd appreciate the help. Thanks. BTW, I'm using Think C 3.01. on a Mac IIcx w/ 2 meg. -- ogden@nmsu.edu Bill Ogden Computing Research Lab New Mexico State University Las Cruces, NM