Quote Originally Posted by buyong View Post
you can judge the return of ReadString,

from MSDN:
Return Value

A pointer to the buffer containing the text data. NULL if end-of-file was reached without reading any data; or if boolean, FALSE if end-of-file was reached without reading any data.
if i do this ,function not read the full file and return when this symbol occur becoz here ReadFile return 0,but i want to read full file data.