Stefan,
Here are the test results run on a windows 98 system. I haven't compiled anything on windows for a looong time, so hopefully I did it right ;). I'm not sure what the build number of the system is, maybe 4.10.1998? If you need anything else give us a buzz.
And now for the test output:
NULL -> res 0,err 87, CON -> res 0,err 87, CON: -> res 0,err 87, COM1: -> res 0,err 87, COM1 -> res 0,err 87, COM2 -> res 0,err 87, COM3 -> res 0,err 87, COM4 -> res 0,err 87, COM5 -> res 0,err 87, LPT1: -> res 0,err 87, LPT1 -> res 0,err 87, LPT2 -> res 0,err 87, LPT3 -> res 0,err 87, LPT4 -> res 0,err 87, NUL -> res 0,err 87, NUL: -> res 0,err 87, NULL, NULL, 0, -> 0, 87 SHIT, NULL, 0, -> 0, 87 LPT1, NULL, 10, -> 0, 87
All the best Joel