[comp.sys.mac.programmer] print record handles

pes@cs.nott.ac.uk (Peter Sutton) (07/13/89)

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.