Wednesday, June 7, 2006, 9:03:43 AM, Konstantin Petrov wrote:
> changed test for function FindFirstFileA to find dosdevices.
> As function FindFirstFile must accept such paths as
> "c:\\windows\\win.ini"
> "c:\\NUL",
> "c:\\COM1",
> "c:\\LPT1",
> "c:\\LPT9",
> "c:\\COM9",
> "c:\\CON",
> "c:\\AUX",
> "c:\\PRN"
> and mustn't accept paths:
> "\\\\.\\CON",
> "c:\\COM0",
> "",
> "c:\\LPT0",
That's because you have only one serial and one parallel port.
The special name is the special name. It's different how win9x and
winNT handles them. Which system have you ran these tests on?
Vitaliy Margolen