🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1680

Re: Dectection of HPFS File system?

#1680
From: Lenox H. Brassell
Date: Tue, 27 Nov 1990 17:59
12 lines
1069 bytes
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.
Technical Details
Message-ID: <4183@media-lab.MEDIA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!media-lab!lenox
References: <15510005@hpspcoi.HP.COM> <11686@hubcap.clemson.edu> <5670@tuminfo1.lan.informatik.tu-muenchen.dbp.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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