home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.programmer:298 comp.sys.ibm.pc.misc:10959
- Path: sparky!uunet!mcsun!ub4b!news.cs.kuleuven.ac.be!blekul11!frmop11!barilvm!f66204
- Organization: Bar-Ilan University Computing Center, Israel
- Date: Tue, 28 Jul 1992 21:46:21 IST
- From: Shaul Wallach <F66204@BARILVM.BITNET>
- Message-ID: <92210.214621F66204@BARILVM.BITNET>
- Newsgroups: comp.sys.ibm.pc.programmer,comp.sys.ibm.pc.misc
- Subject: Opening files using DOS services
- Lines: 13
-
- 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>
-