home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
PASCAL
/
PASTUT34
/
VERSION7.TXT
< prev
Wrap
Text File
|
1993-06-13
|
4KB
|
116 lines
ADDITIONAL NOTES FOR VERSION 7.0 OF BORLAND PASCAL WITH OBJECTS,
TURBO VISION VERSION 2.0, OBJECT WINDOWS and RESOURCE WORKSHOP.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
DOS Protected Mode - User's Guide pp 10-11
-------------------
DPMI (DOS Protected Mode Interface) allows use of compiler in protected
mode, giving access to all computer's memory. Protected Mode Interface is
transparent to user.
By default DPMI allocates all available extended and expanded memory.
In Autoexec.bat SET DPMIMEM = MAXMEM 2000 (Kbytes) to make only 2MB
available.
See also Language Guide Ch17 pp 193-213 for Programming in the DOS
Protected Mode, using up to 16 Mbytes of memory.
Indexed pointers to array - Language Guide p 55
--------------------------
A pointer to an array can be indexed eg. Results.Data^[J]
See also demonstration program ARRPTR.PAS -> .EXE by R Shaw.
Dynamic Methods - Language Guide pp 283-5
----------------
A dynamic method table (DMT) encodes only the methods that were overridden
in the object type. When descendant types override only a few of a large
number of inherited late-bound methods, the dynamic method table format
uses less space than the format used by VMTs.
Turbo Vision Events - Turbo Vision Programming Guide p 156
--------------------
Define new categories of events by using the high-order bits in the What
field of the Event record. By default, Turbo vision will route all such
events as broadcast events.
See page 152 for the Event.What field bit mapping.
Turbo Vision Hierarchy - Turbo Vision Programming Guide pp 94-4
----------------------
New Validate unit.
Inheritance - Turbo Vision Programming Guide pp 98
------------
Fields and methods inheritance table with overridden methods shown with
line through.
Using Bitmapped Fields - Turbo Vision Programming Guide pp 109
-----------------------
Individual bits or flags set (=1) or cleared (=0)
Set by OR operator
eg. MyButton.Options := MyButton.Options OR ofPostProcess;
Cleared by AND NOT eg. field := field AND NOT flag;
Toggled by XOR eg. field := field XOR flag;
Checked by AND eg. if field AND flag = flag then
Check mask eg. if flag AND MASK <> 0 then
Object Windows - Object Windows Programming Guide
---------------
User should read other books on Windows Application Programming Interface
(API). page 1
Need to know Pascal, Windows and OOP. Also pointers and dynamic variables.
page 3.
Use the units OWindows, ODialogs, OPrinter and Objects (for collections
and streams), plus WinTypes and WinProcs. Also OMemory. p 95.
Object hierarchy pp 92-3.
Some acronyms - from User's Guide.
--------------
API Application programming interface. p 202.
DDE Dynamic data exchange. p 198.
DLL Dynamic link library. p 199.
DPMI DOS protected mode interface. p 10.
GDI Graphics device interface. p 198.
handles Pointers to pointers used by
Windows memory management. p 199.
HWnd Handle to a window. p 201.
MDI Multiple document interface. p 201.
Some files. - from User's Guide.
-----------
BP.EXE DOS IDE in protected mode. p 15.
for DOS real or protected mode or windows apps.
Minimum required hardware 80286 with 2 Mb.
BPW.EXE Windows IDE
for DOS real or protected mode or windows apps.
TURBO.EXE DOS real mode IDE
for DOS real mode apps only.
GDI.EXE Display graphics on screen and printer p 204.
KERNEL.EXE Handles memory and resource management p 204.
scheduling and interaction with DOS
TPP.TPL DOS protected mode run-time library. p 124.
TPW.TPL Windows run-time library. p 124.
TURBO.TPL DOS real mode run-time library. p 124.
USER.EXE Manages windows, user input and comms. p 124.
VERSION7.TXT
8.6.93