home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!newsflash.concordia.ca!mizar.cc.umanitoba.ca!xenon.cs.umanitoba.ca!umbrzez0
- From: umbrzez0@xenon.cs.umanitoba.ca (Andrzej Brzezinski)
- Subject: Help! How to increase # of file handles in BP7 protected mode?
- Message-ID: <C182J4.Jyw@ccu.umanitoba.ca>
- Keywords: DPMI File Handles
- Sender: Andrzej Brzezinski (umbrzez0@xenon.cs.umanitoba.ca)
- Nntp-Posting-Host: xenon.cs.umanitoba.ca
- Organization: Computer Science, University of Manitoba, Winnipeg, Canada
- Distribution: all
- Date: Thu, 21 Jan 1993 21:04:16 GMT
- Lines: 20
-
- Hi everybody!
- I have a real problem. I am using Borland Pascal 7.0 to write a protected-
- mode application. I need to increase the number of file handles (to at least
- 50). I tried to use DOS function Set Handles Count (DOS >= 3.3):
- var
- R :Registers;
- begin
- R.AX := $67; { DOS function number }
- R.BX := 50; { number of file handles }
- MsDos(R);
- ....
- end.
-
- Can anybody tell me why it does not work and how to accomplish the task?
- Thanks in advance.
-
- --
- ------------------
- Andrzej Brzezinski, umbrzez0@silver.cs.umanitoba.ca
- University of Manitoba, CANADA
-