precord is no doubt NULL (0).
Did you check that hrecord was not null prior to locking it?

Additionally, handles can fail to be locked for other reasons
(lock count already too high, etc).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Andrew
Lathrop
Sent: Tuesday, July 18, 2000 7:39 AM
To: Palm Developer Forum
Subject: Debug question


I have the following line of code in my program
precord = MemHandleLock( hrecord );

Sometimes when the program gets to that line, it crashes and i try debugging
using CW6.  Viewing the variables in code warrior, it says that precord has
a value of *Saving spool value/Entry not in queue*

Does anyone have a guess as to why this would be given as a value??  Or what
i need to do to fix it?  Thanks
Andrew



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to