I have a line-oriented text file (Unicode) that was created using CreateFile() and WriteFile().
Reading that file as a binary stream using ReadFile() is straightforward, but extra low-level processing is needed to break it into lines.
Is there a Win32 function that does this for me?
Again, please note that it's in 'C' (not C++) and I don't want to use POSIX/ANSI C functions such as readline().
If the answer to the aforementioned question is negative, what would be the "shortest code" to accomplish reading a line-oriented text file, using native Win32 C functions only? e.g. using ReadFile(), StrChr(), etc.
Thanks.
AFAIK there is no win32 function for reading file line by line.