On Aug 14, 2007, at 10:30, demerphq wrote:
Although in this context "doing it by themselves" means using the
results returned by FindFirstFile(), FindNextFile() and FindClose().
Which isn't all that much really.

Except that the beggar who wrote the program had to have bothered to do it.

And of course every operating system has its own equivalent, so portable programs either don't bother or have a maze of ifdefs in main.

Not that Windows programmers bother with writing portable code. And this gives them yet another reason to write OS-specific code instead of using the standard C library, so you get programs messing with DOS file handles instead of using stdio. Why do people do that? You don't often get programs on UNIX calling open() and read() instead of fopen() and fread() unless they're doing low level socket code or something that needs it.

Reply via email to