_readFile 
Author Message
 _readFile

I try to read the file and first of all, i use OpenFile API to open the file
and get the file handler.  Then, when i use _readFile to get the content, it
becomes a infinite loop and get the number of bytes to be read everytime.

Why the _lread don't point to the file pointer i last read?

How can i solve it?

i = OpenFile(FileName,ref ofs, 0);

r = _lread(i,ref bit[0],10000);



Sun, 04 Jul 2004 11:21:16 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ReadFiles, Writing

2. ReadFile and ATL SMTP classes

3. ReadFile

4. Help with ReadFile

5. how to use CreateFile, ReadFile and WriteFile to replace _outp()

6. ReadFile returning garbage from the serial port.

7. ReadFile Problem ??????

8. ReadFile and long data type

9. Question about function ReadFile

10. Problem with ReadFile

11. ReadFile problem with pipes

12. Writefile, ReadFile, Readfileex overlapped com1: problem

 

 
Powered by phpBB® Forum Software