CompuServe Messages

Dos Library

    07-Dec-91 15:06:19
Sb: Dos Library
Fm: Ed Cruse 73307,1465
To: Andy Finkel 70641,267
Andy; Last weekend I read a conversation between you and some other person dealing with the DOS library, it appeared that you really knew what you were doing. Therefore, if you don't mind I have a question for you. I have noticed that MODE_READWRITE of the Open() call in the dos library works differently in 2.04 than it did for 1.3. In 1.3 it was simply an exclusive access version of MODE_OLDFILE. With 2.04 MODE_READWRITE works exactly like MODE_OLDFILE except that it will create the file if it doesn't already exists. With MODE_OLDFILE the file must already exist. The way it is now I have no way of opening an existing file with exclusive access like I could with 1.3. My question is, why was a documented mode changed, or is the change a bug. If the change was deliberate then it seems to me that a fourth mode should have been created instead of changing an existing one. If you could enlighten me I sure would appreciate it. Ed