home *** CD-ROM | disk | FTP | other *** search
- This file documents differences between the sample programs included
- in the \PHAR386\EXAMPLES directory, and the list of sample program files
- documented in Appendix A of the 386|DOS-Extender Reference Manual.
-
- --------------------------
- The \PHAR386\BIN Directory
- --------------------------
- The following additional MS-DOS batch files for building programs are
- included in the BIN directory.
-
- MSCPP.BAT Compiles a C++ source file with the Microsoft 32-bit C/C++
- compiler. You must edit this file to set the INCLUDE
- environment variable to the appropriate directories for
- your installation of the Microsoft compiler and
- 386|DOS-Extender SDK.
-
- MSCPPLNK.BAT Links a C++ program compiled with the Microsoft 32-bit C/C++
- compiler. You must edit this file to set the LIB
- environment variable to the appropriate directories for
- your installation of the Microsoft compiler and
- 386|DOS-Extender SDK.
-
- MSCPPBLD.BAT Compiles and links a C++ program with the Microsoft 32-bit
- C/C++ compiler. This file needs no modification; it
- invokes MSCPP.BAT and MSCPPLNK.BAT for the compile and
- link steps.
-
- PHARASM.BAT Assembles a .ASM source file with the Phar Lap 386|ASM
- assembler. You must edit this file to set the
- -INCLUDE switch to the appropriate directories for your
- installation of the 386|DOS-Extender SDK.
-
- ----------------------------------------
- The \PHAR386\EXAMPLES\INTHNDLR Directory
- ----------------------------------------
- The following additional files are included in the INTHNDLR directory.
-
- CCMAIN.C A C main() routine that calls the program in CTRLC.ASM.
-
- CTRLCMSC.BAT Builds CTRLC.EXE with the Microsoft 32-bit C/C++ compiler.
-
- CTRLCHC.BAT Builds CTRLC.EXE with the MetaWare High C/C++ compiler.
-
- CTRLCWC.BAT Builds CTRLC.EXE with the Watcom C/386 compiler.
-
- -----------------------------------
- The \PHAR386\EXAMPLES\MSC Directory
- -----------------------------------
- There are no CRITHC.BAT and CRITWC.BAT files, because the CRITERR.EXE
- program requires the Microsoft 32-bit C/C++ compiler.
-
- The following additional files are included in the MSC directory.
-
- EXCEPMSC.BAT Builds EXCEP.EXE with Microsoft 32-bit C/C++. (EXCEP.EXE
- needs an additional linker switch, so you can't build
- it with MSCBLD.BAT).
-
- EXCEP2.C Demonstrates structured exception handling with the
- Microsoft 32-bit C/C++ compiler.
-
- EXCEP3.C Demonstrates structured exception handling with the
- Microsoft 32-bit C/C++ compiler.
-
- TERM.C Demonstrates terminating handling with the Microsoft
- 32-bit C/C++ compiler try-finally construct.
-
- SIMPLE.CPP A simple C++ program that demonstrates the use of
- class constructors and destructors.
-
- SIMPLMSC.BAT Builds SIMPLE.EXE with Microsoft 32-bit C/C++.
-
- BUG_MEM.C The sample buggy program from Chapter 1 of the
- Microsoft C/C++ User's Guide to 386|DOS-Extender.
-
- BUGMSC.BAT Builds BUG_MEM.EXE with Microsoft 32-bit C/C++.
-
- -------------------------------------
- The \PHAR386\EXAMPLES\SB386 Directory
- -------------------------------------
- The following additional file are included in the SB386 directory.
-
- KABOOM1.H, KABOOM2.H Header files needed for building KABOOM.
-
- KABUGHC.BAT Builds KABOOBUG.EXE with MetaWare High C/C++.
-
- KABUGWC.BAT Builds KABOOBUG.EXE with Watcom C/386.
-
- DEBUG.SCR The debug script file for the sample debug session
- documented in Chapter 5 of the 386|SRCBug Reference Manual.
-