StrLen(ptr) vs. StrLen(ptr) + 1?  Sounds like you've lost the null somewhere....

-----Original Message-----
From: Larry Gilbert [mailto:stolen-from-palmos@;l2g.to]
Sent: Monday, November 04, 2002 2:27 PM
To: Palm Developer Forum
Subject: Form field wields unusual superpowers :-)


Hello all,

I'm trying to track down a strange bug involving a single field in one
of my app's forms.  So far I am stumped.

If I do a paste to this field, about 95% of the time it will crash or
hang the entire system.  This seems to be independent of the OS (3.0 or
newer) or the environment (Palm ROM, HandEra ROM, native hardware,
POSE).  Also, on OS 3.5 or newer, calling up the menu toolbar when that
field has focus also causes the system to crash or hang (which makes
sense, since it has to access the field to decide which buttons to make
visible, but that doesn't get me much closer to figuring out what's in
that field that makes things go so wrong).

The kicker is that cut, copy, and undo works just fine in that field.
And no other field on another form exhibits this antisocial behavior.

I'm using PRC-Tools (gcc version 2.95.3-kgpd), PilRC 2.8p7, and Palm
SDK 5 under Linux 2.4.17.

Help!

--Larry


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


------------------------------------------

The information in this transmittal and any attachments is privileged and confidential 
and is intended only for the recipient(s) listed above. You are hereby notified that 
any unauthorized distribution or copying of this transmittal or its attachments is 
prohibited. If you have received this transmittal in error, please notify Invivodata 
immediately at (831) 438-9550.

------------------------------------------


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

Reply via email to