makaveliuk
Programmer
How do you look for an EOF on the Stdin?
I am reading data from Redmon on the Stdin to write to a file but it keeps ending input early, I am using a loop:
while( bResult && nBytesRead > 0 )
{
bResult = ReadFile(hStdIn, &inBuffer, 81920, &nBytesRead, NULL);
}
Any ideas?
I am reading data from Redmon on the Stdin to write to a file but it keeps ending input early, I am using a loop:
while( bResult && nBytesRead > 0 )
{
bResult = ReadFile(hStdIn, &inBuffer, 81920, &nBytesRead, NULL);
}
Any ideas?