home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l350 / 2.ddi / DOCS / EXAMPLES.DOC < prev   
Encoding:
Text File  |  1993-02-18  |  3.4 KB  |  90 lines

  1. This file documents differences between the sample programs included
  2. in the \PHAR386\EXAMPLES directory, and the list of sample program files
  3. documented in Appendix A of the 386|DOS-Extender Reference Manual.
  4.  
  5. --------------------------
  6. The \PHAR386\BIN Directory
  7. --------------------------
  8. The following additional MS-DOS batch files for building programs are
  9. included in the BIN directory.
  10.  
  11. MSCPP.BAT    Compiles a C++ source file with the Microsoft 32-bit C/C++
  12.         compiler.  You must edit this file to set the INCLUDE
  13.         environment variable to the appropriate directories for
  14.         your installation of the Microsoft compiler and 
  15.         386|DOS-Extender SDK.
  16.  
  17. MSCPPLNK.BAT    Links a C++ program compiled with the Microsoft 32-bit C/C++
  18.         compiler.  You must edit this file to set the LIB 
  19.         environment variable to the appropriate directories for
  20.         your installation of the Microsoft compiler and 
  21.         386|DOS-Extender SDK.
  22.  
  23. MSCPPBLD.BAT    Compiles and links a C++ program with the Microsoft 32-bit
  24.         C/C++ compiler.  This file needs no modification;  it
  25.         invokes MSCPP.BAT and MSCPPLNK.BAT for the compile and
  26.         link steps.
  27.  
  28. PHARASM.BAT    Assembles a .ASM source file with the Phar Lap 386|ASM
  29.         assembler.  You must edit this file to set the
  30.         -INCLUDE switch to the appropriate directories for your
  31.         installation of the 386|DOS-Extender SDK.
  32.  
  33. ----------------------------------------
  34. The \PHAR386\EXAMPLES\INTHNDLR Directory
  35. ----------------------------------------
  36. The following additional files are included in the INTHNDLR directory.
  37.  
  38. CCMAIN.C    A C main() routine that calls the program in CTRLC.ASM.
  39.  
  40. CTRLCMSC.BAT    Builds CTRLC.EXE with the Microsoft 32-bit C/C++ compiler.
  41.  
  42. CTRLCHC.BAT    Builds CTRLC.EXE with the MetaWare High C/C++ compiler.
  43.  
  44. CTRLCWC.BAT    Builds CTRLC.EXE with the Watcom C/386 compiler.
  45.  
  46. -----------------------------------
  47. The \PHAR386\EXAMPLES\MSC Directory
  48. -----------------------------------
  49. There are no CRITHC.BAT and CRITWC.BAT files, because the CRITERR.EXE
  50. program requires the Microsoft 32-bit C/C++ compiler.
  51.  
  52. The following additional files are included in the MSC directory.
  53.  
  54. EXCEPMSC.BAT    Builds EXCEP.EXE with Microsoft 32-bit C/C++.  (EXCEP.EXE
  55.         needs an additional linker switch, so you can't build
  56.         it with MSCBLD.BAT).
  57.  
  58. EXCEP2.C    Demonstrates structured exception handling with the
  59.         Microsoft 32-bit C/C++ compiler.
  60.  
  61. EXCEP3.C    Demonstrates structured exception handling with the
  62.         Microsoft 32-bit C/C++ compiler.
  63.  
  64. TERM.C        Demonstrates terminating handling with the Microsoft
  65.         32-bit C/C++ compiler try-finally construct.
  66.  
  67. SIMPLE.CPP    A simple C++ program that demonstrates the use of
  68.         class constructors and destructors.
  69.  
  70. SIMPLMSC.BAT    Builds SIMPLE.EXE with Microsoft 32-bit C/C++.
  71.  
  72. BUG_MEM.C    The sample buggy program from Chapter 1 of the
  73.         Microsoft C/C++ User's Guide to 386|DOS-Extender.
  74.  
  75. BUGMSC.BAT    Builds BUG_MEM.EXE with Microsoft 32-bit C/C++.
  76.  
  77. -------------------------------------
  78. The \PHAR386\EXAMPLES\SB386 Directory
  79. -------------------------------------
  80. The following additional file are included in the SB386 directory.
  81.  
  82. KABOOM1.H, KABOOM2.H  Header files needed for building KABOOM.
  83.  
  84. KABUGHC.BAT    Builds KABOOBUG.EXE with MetaWare High C/C++.
  85.  
  86. KABUGWC.BAT    Builds KABOOBUG.EXE with Watcom C/386.
  87.  
  88. DEBUG.SCR    The debug script file for the sample debug session
  89.         documented in Chapter 5 of the 386|SRCBug Reference Manual.
  90.