Hey Guys,
I've been getting that nasty "Invalid Handle" error message for a couple
hours now. I have properly locked and unlocked every MemHandle and have
released the db records each time as well.
What I found was, in my call
myHandle = MemHandleNew(LENGTH);
myText = MemHandleLock(myHandle);
the bigger I make "LENGTH", the more it crashes. Originally I had it set at
135, but when I took it down to 45, it crashed about half as much. I'm
pretty sure this isn't due to other intervention.
The crash happens when I am viewing my records. I have nine records, and
all I do is view each record over and over again (that's all) and eventually
after seeing each one 3 or 4 times, it'll crash on a random record and
always on the line of code shown above.
IS THERE A MAX that I should use? Or is my problem something else?
Any help would be greatly appreciated,
Scott
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/