home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem
- rem Batch file to build the program loader example LOAD.EXP
- rem from LOAD.C and LOAD2.ASM. It also builds an example
- rem program FARHELLO.EXP which can be loaded and run by the
- rem LOAD.EXP. FARHELLO.EXP is a simple program which prints
- rem "hello world" on the screen and then does a far return
- rem back into the application which called it.
- rem
- rem This loader example code demonstrates how to use
- rem the "Load .EXP file" system call within an application to
- rem load and execute child programs or overlays.
- rem
- rem LOAD.EXP is built with the compiler driver which is shipped
- rem with versions 1.6 and later of High C-386.
- rem
- rem Execute this example with the command line: run386 load farhello.exp
- rem
- echo on
- 386asm farhello.asm -nolist
- 386link farhello -nomap
- 386asm load2.asm -I ..\..\includes\ -nolist
- hc386 load.c load2.obj -I..\..\includes -Hpro=..\..\includes\pl386.pro -l..\..\libs\dosx32.lib -l..\..\libs\dos32.lib -nomap
-