home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / DESQVIEW / MISC / DVXHLP10.ZIP / EXAMPLE.ZIP / Q31.TXT < prev    next >
Encoding:
Text File  |  1992-05-30  |  1.2 KB  |  37 lines

  1. /FHQ31: What do each of the four Protection Levels mean?/FB
  2.  
  3.  
  4.  
  5. In ``Change A Program'' or DVPMAN, you can set a program's protection
  6. level.  Here are the meanings:
  7.  
  8.  
  9.  
  10. /CHLevel 0/CN means no protection at all.
  11.  
  12.  
  13.  
  14. /CHLevel 1/CN will keep a process from locking interrupts for too long if the
  15. WD parameter is set correctly in QEMM, and your hardware supports it.
  16.  
  17.  
  18.  
  19. /CHLevel 2/CN will bring up an error if a process writes outside of the memory
  20. that DESQview thinks the process owns. If the process attempts this,
  21. DESQview will ask the user if the process should be aborted,
  22. unprotected, or be allowed to continue (but remain protected).
  23.  
  24.  
  25.  
  26. /CHLevel 3/CN will keep a process from reading outside of its memory, with a
  27. similar interface as Level 2.  It also grabs all interrupt vectors
  28. and complains if the program points the vector outside of its memory
  29. (including back at the original handler) and then calls it.  Level 3
  30. will crash Borland's floating point libraries.
  31.  
  32.  
  33.  
  34. If a program crashes with Level 0 it will also crash with Level 3 set,
  35. but you might find out about it a little sooner, and it may prevent the
  36. system from being locked up.
  37.