Path: utzoo!attcan!uunet!mcvax!ukc!strath-cs!nott-cs!pes From: pes@cs.nott.ac.uk (Peter Sutton) Newsgroups: comp.sys.mac.programmer Subject: print record handles Message-ID: <6167@robin.cs.nott.ac.uk> Date: 13 Jul 89 09:17:04 GMT Sender: root@cs.nott.ac.uk Reply-To: pes@cs.nott.ac.uk (Peter Sutton) Organization: Computer Science, Nottingham Univ., UK. Lines: 13 Writing PDEF4 for a printer driver. The handle that MacWrite and MacDraft give me for their print record (into PrintDefault) are sized at the size of remaining memory (around 900,000 for 1meg Mac and 2,490,368 in 2.5meg MacPlus). I test to see if the handle given to me is empty, it is not - therefore I assume that it is valid. MoveHHi returns -111 (memWZErr). Do I have to ReallocHandle or something? (The handle should be dec 120 bytes logical) What is wrong? Thanks to whoever answers. Peter Sutton.