home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8408 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!newsflash.concordia.ca!mizar.cc.umanitoba.ca!xenon.cs.umanitoba.ca!umbrzez0
  3. From: umbrzez0@xenon.cs.umanitoba.ca (Andrzej Brzezinski)
  4. Subject: Help! How to increase # of file handles in BP7 protected mode?
  5. Message-ID: <C182J4.Jyw@ccu.umanitoba.ca>
  6. Keywords: DPMI File Handles
  7. Sender: Andrzej Brzezinski (umbrzez0@xenon.cs.umanitoba.ca)
  8. Nntp-Posting-Host: xenon.cs.umanitoba.ca
  9. Organization: Computer Science, University of Manitoba, Winnipeg, Canada
  10. Distribution: all
  11. Date: Thu, 21 Jan 1993 21:04:16 GMT
  12. Lines: 20
  13.  
  14. Hi everybody!
  15. I have a real problem. I am using Borland Pascal 7.0 to write a protected-
  16. mode application. I need to increase the number of file handles (to at least
  17. 50). I tried to use DOS function Set Handles Count (DOS >= 3.3):
  18. var
  19.   R :Registers;
  20. begin
  21.   R.AX := $67; { DOS function number }
  22.   R.BX := 50; { number of file handles }
  23.   MsDos(R);
  24.   ....
  25. end.
  26.  
  27. Can anybody tell me why it does not work and how to accomplish the task?
  28. Thanks in advance.
  29.  
  30. -- 
  31. ------------------
  32. Andrzej Brzezinski, umbrzez0@silver.cs.umanitoba.ca
  33. University of Manitoba, CANADA
  34.