Yeah, found that.
Cheers

-----Original Message-----
From: Yu, Ken [IT] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:26 PM
To: Palm Developer Forum
Subject: RE: Reading in a byte array from the database


Do you have any NULL's (0) in your data? StrLen only counts up to the NULL
terminating character.

-Ken

> ----------
> From:         Richard.Johnstone[SMTP:[EMAIL PROTECTED]]
> Reply To:     Palm Developer Forum
> Sent:         Friday, April 06, 2001 9:43 AM
> To:   Palm Developer Forum
> 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/
> 

-- 
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