Hai all


        I am writing data into the file using File streams.After completion of
writing data into a file, I am closing the file and again I openening tha same
File in Read Mode. I fetching the character by character in to a Char*
variable. Problem is I am unable to getting data in Char* variable.It contains
NULL value. How can I read that File character by character. where I went to
wrong.  


infile=FileOpen(0,s,'data','comp',fileModeAppend,&error);
FileWrite(infile,text,1,1,&error);
FileClose(infile);
outfile=FileOpen(0,s,'data','comp',fileModeReadOnly,&error);
FileTell(outfile, &sz,&error);
sz1=FileRead(outfile,temp,1,1,&error);



   How to read .pdb files in palm.


bye

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

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