> I have been facing some strange problem with File streams. When I update
> (I mean write some characters to the middle of the file stream), it appears 
> to me that the rest of the contents, that originally were in the
> filestream, are lost.

  of course.. you clobber the file :)) you have an append mode.. but it
  only allows you to write to the end of the file stream.. not "in the 
  middle" :)) 

> I had to write the file contents into a temporary file and then write 
> them back to the file. Do you have any idea or is this the way it is
> suppose to work?

  what you do sounds about right :)) 

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


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