The only thing I see different between your code and code I use is that I
don't cast the read or write buffer to (void *).
Michael.
venkatesh <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> Hi
> I want to use File Streaming API in my application. I have
> tried with FileWr
The easiest way would be to rewind the ptr by using the FileRewind() or the
other way would be to close the File before reading...
-vishy
Hi
I want to use File Streaming API in my application. I have
tried with FileWrite( ) and FileRead( ) calls. I am able to write some
bytes into a
In a message dated 7/26/00 5:19:44 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
<< Hi
I have tried with reading after a file close and file open and
file rewind. Still i get 0 objects. can anyone provide some working
code for file reading and writing.
Thanks
venkatesh
in
The file is at eof after the write. Do a FileSeek(begin) before read.
BTW, casting to void* does nothing.
venkatesh wrote:
>
> Hi
> I want to use File Streaming API in my application. I have
> tried with FileWrite( ) and FileRead( ) calls. I am able to write some
> bytes into a file. But
The easiest way would be to rewind the ptr by using the FileRewind() or the
other way would be to close the File before reading...
-vishy
Hi
I want to use File Streaming API in my application. I have
tried with FileWrite( ) and FileRead( ) calls. I am able to write some
bytes into a
d allocates 5 instead, or if
it allocates only 4 and then doesn't terminate the string.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 25, 2000 11:20 AM
Subject: Re: File Streaming Problem
> In a
In a message dated 7/25/00 11:24:51 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
<< Hi
I want to use File Streaming API in my application. I have
tried with FileWrite( ) and FileRead( ) calls. I am able to write some
bytes into a file. But reading that file always returns zero
The only thing I see different between your code and code I use is that I
don't cast the read or write buffer to (void *).
Michael.
venkatesh <[EMAIL PROTECTED]> wrote in message news:18629@palm-dev-forum...
>
> Hi
> I want to use File Streaming API in my application. I have
> tried with