CompuServe Messages

Dos Library

    09-Dec-91 18:18:55
Sb: #17496-Dos Library
Fm: Ed Cruse 73307,1465
To: Andy Finkel 70007,4173
John; Your exactly right, the modes you showed in your message are the way 2.0 is. The problem is that 1.3 isn't that way or at least versions earlier than 1.3.2. MODE_READWRITE acted exactly the same as MODE_OLDFILE except that it was an exculive lock. This is how MODE_READWRITE acted in my programs and also the 1.3 include files show the same thing. Below is the include that deals with this. * Mode parameter to Open() MODE_OLDFILE EQU 1005 * Open existing file read/write * * positioned at beginning of file. MODE_NEWFILE EQU 1006 * Open freshly created file (delete * * old file) read/write MODE_READWRITE EQU 1004 * Open old file w/exclusive lock With OpenFromLock this is not a problem, but it sure messed up my multi-user bulliten board. As soon as I installed 2.0 it started acting funny and that is why I noticed the difference. So it looks to me like there was a design change that caught me. Thanks for your reply. Ed