I am specifing that it reads in one 20 byte object. So I am not falling into
that trap I hope :-)

I will give the MemHeapCheck a try and see if that can give me an idea on
what is going wrong.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
> Johnson (Bellevue)
> Sent: Wednesday, 8 November 2000 13:23
> To: Palm Developer Forum
> Subject: RE: Strange Program Error
>
>
> > From: Peter Ludwig [mailto:[EMAIL PROTECTED]]
> > I am filling a data structure with information from the file.
> > The arrays in the structure are 10 characters larger than required
>
> One gotcha with FileRead is that you don't specify the number
> of bytes to
> read, but the number of "objects" which may be bigger than
> one byte.  Any
> chance of this being an error in your code?
>
> > I am doing full error checking from the FileRead commands
>
> Try calling MemHeapCheck in the vicinity of the file calls.
>
> -slj-
>
>
> --
> 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