home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / PASCAL / PASTUT34 / VERSION7.TXT < prev   
Text File  |  1993-06-13  |  4KB  |  116 lines

  1.       ADDITIONAL NOTES FOR VERSION 7.0 OF BORLAND PASCAL WITH OBJECTS,
  2.       TURBO VISION VERSION 2.0, OBJECT WINDOWS and RESOURCE WORKSHOP.
  3.       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4.  
  5.   DOS Protected Mode  -  User's Guide pp 10-11
  6.   -------------------
  7.   DPMI (DOS Protected Mode Interface) allows use of compiler in protected
  8.   mode, giving access to all computer's memory. Protected Mode Interface is
  9.   transparent to user.
  10.  
  11.   By default DPMI allocates all available extended and expanded memory.
  12.   In Autoexec.bat SET DPMIMEM = MAXMEM 2000 (Kbytes) to make only 2MB
  13.   available.
  14.  
  15.   See also Language Guide Ch17 pp 193-213 for Programming in the DOS
  16.   Protected Mode, using up to 16 Mbytes of memory.
  17.  
  18.  
  19.   Indexed pointers to array   -  Language Guide p 55
  20.   --------------------------
  21.   A pointer to an array can be indexed  eg.  Results.Data^[J]
  22.  
  23.   See also demonstration program ARRPTR.PAS -> .EXE by R Shaw.
  24.  
  25.  
  26.   Dynamic Methods    -  Language Guide pp 283-5
  27.   ----------------
  28.   A dynamic method table (DMT) encodes only the methods that were overridden
  29.   in the object type. When descendant types override only a few of a large
  30.   number of inherited late-bound methods, the dynamic method table format
  31.   uses less space than the format used by VMTs.
  32.  
  33.  
  34.   Turbo Vision Events   -  Turbo Vision Programming Guide  p 156
  35.   --------------------
  36.  
  37.   Define new categories of events by using the high-order bits in the What
  38.   field of the Event record. By default, Turbo vision will route all such
  39.   events as broadcast events.
  40.   See page 152 for the Event.What field bit mapping.
  41.  
  42.   Turbo Vision Hierarchy  -  Turbo Vision Programming Guide  pp 94-4
  43.   ----------------------
  44.   New Validate unit.
  45.  
  46.  
  47.   Inheritance  -  Turbo Vision Programming Guide  pp 98
  48.   ------------
  49.   Fields and methods inheritance table with overridden methods shown with
  50.   line through.
  51.  
  52.  
  53.   Using Bitmapped Fields   -  Turbo Vision Programming Guide  pp 109
  54.   -----------------------
  55.   Individual bits or flags set (=1) or cleared (=0)
  56.   Set by OR operator
  57.        eg. MyButton.Options := MyButton.Options OR ofPostProcess;
  58.  
  59.   Cleared by AND NOT    eg.  field := field AND NOT flag;
  60.  
  61.   Toggled by XOR        eg.  field := field XOR flag;
  62.  
  63.   Checked by AND        eg.  if field AND flag = flag then
  64.  
  65.   Check mask            eg.  if flag AND MASK <> 0 then
  66.  
  67.  
  68.   Object Windows   -   Object Windows Programming Guide
  69.   ---------------
  70.   User should read other books on Windows Application Programming Interface
  71.   (API).  page 1
  72.  
  73.   Need to know Pascal, Windows and OOP. Also pointers and dynamic variables.
  74.   page 3.
  75.  
  76.   Use the units OWindows, ODialogs, OPrinter and Objects (for collections
  77.   and streams), plus WinTypes and WinProcs. Also OMemory.  p 95.
  78.  
  79.   Object hierarchy  pp 92-3.
  80.  
  81.   Some acronyms   -  from User's Guide.
  82.   --------------
  83.  
  84.   API     Application programming interface.  p 202.
  85.   DDE     Dynamic data exchange.              p 198.
  86.   DLL     Dynamic link library.               p 199.
  87.   DPMI    DOS protected mode interface.       p 10.
  88.   GDI     Graphics device interface.          p 198.
  89.   handles Pointers to pointers used by
  90.           Windows memory management.          p 199.
  91.   HWnd    Handle to a window.                 p 201.
  92.   MDI     Multiple document interface.        p 201.
  93.  
  94.  
  95.   Some files.   -  from User's Guide.
  96.   -----------
  97.  
  98.   BP.EXE       DOS IDE in protected mode.                       p 15.
  99.                for DOS real or protected mode or windows apps.
  100.                Minimum required hardware 80286 with 2 Mb.
  101.   BPW.EXE      Windows IDE
  102.                for DOS real or protected mode or windows apps.
  103.   TURBO.EXE    DOS real mode IDE
  104.                for DOS real mode apps only.
  105.  
  106.   GDI.EXE      Display graphics on screen and printer            p 204.
  107.   KERNEL.EXE   Handles memory and resource management            p 204.
  108.                scheduling and interaction with DOS
  109.   TPP.TPL      DOS protected mode run-time library.              p 124.
  110.   TPW.TPL      Windows run-time library.                         p 124.
  111.   TURBO.TPL    DOS real mode run-time library.                   p 124.
  112.   USER.EXE     Manages windows, user input and comms.            p 124.
  113.  
  114. VERSION7.TXT
  115. 8.6.93
  116.