Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!media-lab!lenox From: lenox@media-lab.MEDIA.MIT.EDU (Lenox H. Brassell) Newsgroups: comp.os.os2.programmer Subject: Re: Dectection of HPFS File system? Summary: DosOpen() can still fail... Message-ID: <4183@media-lab.MEDIA.MIT.EDU> Date: 27 Nov 90 17:59:09 GMT References: <15510005@hpspcoi.HP.COM> <11686@hubcap.clemson.edu> <5670@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Organization: MIT Media Lab, Cambridge, MA Lines: 12 In article <5670@tuminfo1.lan.informatik.tu-muenchen.dbp.de>, rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) writes: > Try to DosOpen(), let's say, "C:\.HPFS.DETECTION" ... > > Since DosOpen() is a call that exists since 1.0 :-) and even is FAPI, > there should not be any portability problems. There can still be a sharing problem if you get unlucky: someone might have the file opened already with OPEN_SHARE_DENYREAD or OPEN_SHARE_DENYREADWRITE options active. I think DosFindFirst() "wins" over DosOpen() based on this point.