Look fro some NULL in your record at around position 500. StrLen will count
only upto the first NULL.
Ritesh >:)
----- Original Message -----
From: Richard.Johnstone
To: Palm Developer Forum
Sent: Friday, April 06, 2001 7:13 PM
Subject: Reading in a byte array from the database
Each record on my database is 3000 bytes. Basically it consists of 100
smaller records bunched up.
When using a tool like insider to check the record size, it is 3000
In my code when I access the row, I cast it to a CharPtr.
When I do StrLen of this I get only 500.
Should I be casting this to a CharPtr?? All I want to do is search for a
delimitor and chop up the record.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/