Peter Breitenlohner wrote:
> In any case, the code:
> while (ReadFile(..., ..., ..., &num, NULL) != 0 && num > 0) {
> if (num <= 0) {
> doesn't make much sense to me. How can the value of num be both >0 and <=0!
I have *no* idea. The first block is clearly unreachable unless cosmic
radiation strikes at exactly the right moment.
Taco