home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l038 / 1.img / README < prev    next >
Encoding:
Text File  |  1991-03-14  |  10.2 KB  |  262 lines

  1.  
  2.                  Welcome to Turbo Pascal for Windows
  3.                  -----------------------------------
  4.  
  5. This README file contains important, last minute information
  6. about Turbo Pascal for Windows. There are three ways to program
  7. Windows using Turbo Pascal:
  8.  
  9.   1) By simply using the WinCrt unit, you can write "standard"
  10.      Pascal programs that do Readln, Writeln in a scrollable
  11.      window. For more information about the WinCrt unit, refer to
  12.      Chapter 14 in the Programmer's Guide (and see WELCOME.PAS in
  13.      the \TPW directory).
  14.  
  15.   2) You can write Windows applications the "traditional" way.
  16.      For examples of this style of Windows programming, see
  17.      GENERIC.PAS and FDLGDEMO.PAS in the \TPW\WINDEMOS directory.
  18.  
  19.   3) The best way to write full-featured Windows applications is
  20.      by using the ObjectWindows application framework.
  21.      ObjectWindows uses object-oriented techniques to make
  22.      Windows programming much easier and more efficient.
  23.      ObjectWindows is described in detail in both the Windows
  24.      Programmer's Guide and Windows Reference Guide. See
  25.      HELLOAPP.PAS and the many other ObjectWindows demo programs
  26.      in the \TPW\OWLDEMOS directory.
  27.  
  28. In addition to the release notes in this file, there are several
  29. text files in the \TPW\DOC directory that you should browse. Make
  30. sure you look at the MANUAL.TPW and MANUAL.TDW files which
  31. provide corrections to the printed documentation.
  32.  
  33. A complete list of all files is provided in the FILELIST.DOC in
  34. the \TPW directory.
  35.  
  36.  
  37. TABLE OF CONTENTS
  38. -----------------
  39. 1.  How to Get Help
  40. 2.  Installation
  41. 3.  System Requirements
  42. 4.  Turbo Help
  43. 5.  Features
  44. 6.  Release Notes
  45.  
  46.  
  47. 1. HOW TO GET HELP
  48. -------------------
  49. If you have any problems, please read this file, the *.DOC files in
  50. \TPW\DOC, and the Turbo Pascal manuals first. If you still have a
  51. question and need assistance, help is available from the following
  52. sources:
  53.  
  54. 1. Type GO BPROGA on the CompuServe bulletin board system. If you are
  55.    not a member of CompuServe, see the enclosed special offer.
  56.  
  57. 2. Check with your software dealer or user group.
  58.  
  59. 3. If you have an urgent problem and you have sent in the license
  60.    agreement that accompanied this package, you may call the Borland
  61.    Technical Support Department at (408) 438-5300. Please have the
  62.    following information ready before calling:
  63.  
  64.    a. Product name and serial number from the distribution disks.
  65.  
  66.    b. Computer brand, model, and the brands and model numbers of
  67.       any additional hardware.
  68.  
  69.    c. Operating system and version number. (The version number can
  70.       be determined by typing VER at the DOS prompt. The Windows
  71.       version number is displayed in the Program Manager's About
  72.       Box.)
  73.  
  74.    d. Contents of your AUTOEXEC.BAT, CONFIG.SYS, TPW.INI and WIN.INI
  75.       files.
  76.  
  77.  
  78. 2. INSTALLATION
  79. ---------------
  80. Use the INSTALL program to install Turbo Pascal for Windows. The files
  81. on the distribution disks are all archived and INSTALL will de-archive
  82. them for you, place them into subdirectories and automatically create
  83. configuration files for both the command-line compiler and the
  84. Integrated Development Environment (IDE). All further references to
  85. directory paths in this README file and in FILELIST.DOC assume you've
  86. used INSTALL's default directory structure.
  87.  
  88. To run the installation program from Drive A type
  89.  
  90.     WIN A:INSTALL
  91.  
  92. or, if Windows is active, select the program manager's File|Run
  93. command and type
  94.  
  95.     A:INSTALL
  96.  
  97. Install will unpack the compressed archive files (*.PAK) into
  98. subdirectories on your hard disk. These files also can be
  99. unpacked manually using the UNPAK.EXE utility. Your system must
  100. have at least two megabytes of memory available to run Turbo
  101. Pascal for Windows. Neither the Install program nor Turbo Pascal
  102. for Windows will run in real mode.
  103.  
  104. After installation, make sure you add the Turbo Pascal for Windows
  105. directories (e.g. C:\TPW;C:\TPW\UTILS) in your DOS path.
  106.  
  107.  
  108. 3. SYSTEM REQUIREMENTS
  109. ----------------------
  110. Turbo Pascal for Windows requires at least 2 Mbytes of RAM and
  111. runs on EGA, VGA and Hercules monochrome video adapters. Note
  112. that dual monitors are required in order to debug your program in
  113. SVGA mode.
  114.  
  115.  
  116. 4. TURBO HELP
  117. -------------
  118. The fastest way to get help on any Turbo Pascal or Windows API
  119. feature is to use the online help system. Pull down the Help menu
  120. by typing Alt-H or press F1 for more information. If it's in
  121. Turbo Pascal for Windows, it's in the help system! TDW has its
  122. own help system and help file as well.
  123.  
  124. 5. FEATURES
  125. -----------
  126. Turbo Pascal for Windows has many features including:
  127.  
  128.  o Windows IDE - A Windows-hosted environment that is a full MDI
  129.    application. You can edit and compile files in the IDE and
  130.    then call TDW to debug your programs. (The IDE even has
  131.    optional Wordstar compatible keys. Select the alternate
  132.    command set on the Options|Preferences dialog.)
  133.  
  134.  o The compiler and RTL have many extensions for programming
  135.    under Windows (see below). Refer to the demo programs in the
  136.    \TPW\WINDEMOS directory.
  137.  
  138.  o ObjectWindows - An application framework and library that
  139.    provides an objected-oriented layer to Windows programming.
  140.    Use ObjectWindows' object-oriented techniques to build
  141.    powerful Windows applications quickly. ObjectWindows (OWL)
  142.    demo programs are in the \TPW\OWLDEMOS directory. OWL itself
  143.    is in the \TPW\OWL directory.
  144.  
  145.  o WRT - Interactively build and edit Windows' resources with
  146.    the Whitewater Resource Toolkit.  Create and edit icons,
  147.    cursors, dialogs, menus, accelerators, bitmaps and strings.
  148.  
  149.  o TDW - A special version of the Turbo Debugger that debugs
  150.    Windows 3.0 applications. TDW runs in text mode and can be
  151.    launched from the IDE via the RUN|DEBUGGER menu.
  152.  
  153.      o uses display swapping to support single monitor debugging
  154.      o full support for Windows DLLs
  155.      o break on Windows messages
  156.  
  157.    See MANUAL.TDW in the \TPW\DOC directory for information about
  158.    the various utilities that come with TDW.
  159.  
  160.  o Help system compiler - Use the help compiler to create
  161.    Windows' online help for your programs. The help compiler
  162.    (HC.EXE) is in the \TPW\UTILS directory. The help examples are
  163.    in the \TPW\DOCDEMOS\HELPEX directory.
  164.  
  165.  o Other compiler and runtime library features:
  166.    o Windows Crt unit (WinCrt) for writing "standard" programs
  167.      that use Writeln and Readln (see \TPW\WELCOME.PAS).
  168.    o Dynamic Method Tables
  169.    o Full support for Windows-style null-terminated strings
  170.    o Link in Windows resource Files ($R directive)
  171.    o Full support for DLLs (Dynamic Link Libraries. See
  172.      \TPW\OWLDEMOS\BITBTN.PAS).
  173.  
  174. A full suite of DOS command-line utilities, including a DOS
  175. command-line compiler (TPCW.EXE) that produces Windows programs,
  176. MAKE.EXE, and a Windows' resource compiler (RC.EXE) are also
  177. provided.
  178.  
  179. 6. RELEASE NOTES
  180. ----------------
  181.  
  182. Paradox Engine Sample Program
  183. -----------------------------
  184.  o Turbo Pascal for Windows can access Paradox data tables using
  185.    the Paradox Engine 2.0 Dynamic Link Library (DLL). An example
  186.    program that shows how this is done is included in the files
  187.    \TPW\OWLDEMO\PXDEMO.PAS and \TPW\OWLDEMOS\PXACCESS.PAS. Note
  188.    that you will need the PXENGWIN.DLL and the sample Paradox
  189.    data files that are included with the Paradox Engine 2.0 in
  190.    order to run PXDEMO. The Paradox Engine 2.0 is available
  191.    separately from Borland and includes support for DOS and
  192.    Windows programming using Turbo Pascal, Borland C and C++, and
  193.    other languages.
  194.  
  195. WRT Release Notes
  196. -----------------
  197.  o If your system has plenty of memory (3 MBytes or more), you
  198.    can speed up the WRT by inserting the following 3 lines in
  199.    your WIN.INI file:
  200.  
  201.       [WRT]
  202.       Static = 250
  203.       Dynamic = 100
  204.  
  205.    This increases the memory available to the WRT and speeds up
  206.    its editing operations.
  207.  
  208.  o Include file support - The WRT allows you to create include
  209.    files that contain Pascal constant definitions. These files
  210.    can be included in your TPW programs using the {$I Filename}
  211.    directive. Note that these files can contain ONLY a const
  212.    clause and constant declarations. No other language
  213.    constructs, including comments, are allowed. The WRT can read
  214.    and write these files from within the Header editor.
  215.  
  216.  o The WRT can edit resources, even if they're already bound into
  217.    an .EXE file. Note that in this case, however, any TDW debug
  218.    information already bound into the .EXE will be removed.
  219.  
  220.  
  221. Help Compiler Release Notes
  222. ---------------------------
  223.  o TPW provides the Windows help compiler, HC.EXE, in the
  224.    \TPW\UTILS directory. A complete help example, HELPEX.PAS is
  225.    located in \TPW\DOCDEMOS\HELPEX. There is also a complete
  226.    ObjectWindows version of this example (OWLHELP.PAS). You can
  227.    use the HELPEX.MAK file to make both examples by typing
  228.  
  229.      make -fhelpex.mak
  230.  
  231.    Make sure the command-line compiler (TPCW.EXE), the help
  232.    compiler (HC.EXE), the resource compiler (RC.EXE) and MAKE.EXE
  233.    are all on your DOS path. If you did not use the installation
  234.    program's default directory structure, you'll need to modify
  235.    HELPEX.MAK accordingly. See the printed documentation on the
  236.    help compiler for more information about HC.EXE and
  237.    HELPEX.PAS.
  238.  
  239.  
  240. OEM vs. ANSI Character Sets
  241. ---------------------------
  242.  o DOS text files use the OEM character set; Windows text files
  243.    generally use the ANSI character set. The demo program,
  244.    FCONVERT.PAS (located in \TPW\OWLDEMOS) converts data back and
  245.    forth between these formats. The only text files that will be
  246.    affected are those containing international characters (ASCII
  247.    values above 128) like the umlaut, etc. Not all OEM characters
  248.    are present in the ANSI character set, and vice versa.
  249.    Therefore, converting between these character sets may produce
  250.    a mapping that is not reversible. Refer to your Windows
  251.    documentation for further information about ANSI vs. OEM
  252.    character sets.
  253.  
  254.  
  255. Turbo Pascal for DOS
  256. --------------------
  257.  o A DOS version of Turbo Pascal that produces DOS programs is
  258.    also available. Contact your dealer or distributor, or call
  259.    Borland for more information.
  260.  
  261. * * *
  262.