On (24 Aug 97) Herbert Bushong wrote to Jerry Coffin...
::> Okay, lets take a look at the values:
::> filebuf::sh_compat This is the default, left over from before DOS
::> filebuf::sh_none This is basically the same as sh_compat except
::> that ...
::> filebuf::sh_read This means others can read, but not write
::> the file.
::> filebuf::sh_write This means others can write the file.
HB> I just looked in the header at the filebuf class
HB> definition; none of the above were defined (BC45). Same with BCOS2.
HB> The help says this int value corresponds to the DOS sharing modes
HB> so I assume I could use the defines SH_DENYNO, SH_DENYWR, etc... ?
That seems reasonable, though I haven't tried it to verify. I'd almost
bet that in every case, the values are identical in any case: it's
almost inevitable that in every case, they're just giving names to the
values accepted by the underlying OS and using different names isn't
going to make any difference in how they act.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|