>>>Why "wrong"?
>>>
>>>Vlad
>>
>>Vlad,
>>
>>It's one of those functions that's provided only for compatibility with 16 bit Windows.
>
>Does this mean that it doesn't work here? AFAI read, it cannot open pipes. It's simplier than CreateFile().
>
>Vlad
Agreed that it's simpler. I haven't tested in this scenario, but perhaps it why Nigel said what he did. A while back there was a thread regarding setting a file's time, and I used CreateFile() for that. Can't recall offhand whether or not I tried OpenFile(). I may play around with it today and see.
George
Ubi caritas et amor, deus ibi est