Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Shaul Wallach
Tue, 28 Jul 1992 20:46
Opening files using DOS services
Author: Shaul Wallach
Date: Tue, 28 Jul 1992 20:46
Date: Tue, 28 Jul 1992 20:46
13 lines
1010 bytes
1010 bytes
Here is a novice's programming question to which I haven't
been able to find an answer in the books at hand. When you
create a disk file using functions AH = 3C or 5B, DOS (i.e.
INT 21H) returns a file handle in AX. However, these functions
don't require any file-access code in AL. Can I assume that
the file will be opened for write access, or must I first
explicitly open the file with function 3D and a file-access
code in AL and use the handle this function returns, ignoring
the handle returned by function 3C or 5B?
Thanks very much for any help!
Shaul Wallach <F66204@VM.BIU.AC.IL>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads