I'm trying to read a string from a file using ReadFile() until it hits an astrisk.
I tried this but it didn't seem to work.
Code:LPSTR lpzFileBuffer;
LPSTR lpzFileSize;
while (!strcmp(lpzFileBuffer, "*"))
{
ReadFile(hInputFile, lpzFileBuffer, 1, &dwRead, NULL);
strcat(lpzFileSize, lpzFileBuffer);
}
