Use GetFileSize() on the HANDLE returned from CreateFile().
GlobaAlloc() for the file size and read the lot with ReadFile().
Use a pointer to the mem block and string matching to find what you are looking for.
Use titles like
as these help to divide the file.
>>Is there a way to set the pointer by line instead of by bytes?
Not unless you make the lines all the same length and know which one you need or know each lines length.
With sprintf() you can set the string length with