> Ok, so how do you do this properly? for (x = 0; x <
> ULONG_MAX; x++) DosClose(x);
JdBP> I'd use the value obtained by DosQueryRelMaxFH (with a delta of zero) as
JdBP> the highest file handle. Other than that, yes.
Ok, you've convinced me. Now, can you tell me whether what Peter said
(which was "wrong"), is actually right in a difference context?
BFN. Paul.
PE> Now the reason that cvp let's me open 15 files, is
PE> because it allocates fileno's of 5-19, this time
PE> WITHOUT skipping 6 and 12!
PE> Now, can anyone explain WHY cvp would do such a thing,
PE> and secondly, given that it CAN, does this mean that I
PF> I'll bet it has nothing to do with cvp directly (someone else up the
PF> parent tree is using those file handles already), but has to do with
PF> the equivalent of a "start /i".
PF> What happens if you start a session with "start /i" and run your
PF> compile from there?
@EOT:
---
* Origin: X (3:711/934.9)
|