home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c220 / 7.ddi / EXAMPLES / LOADER / LOAD.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-02-04  |  983 b   |  24 lines

  1. echo off
  2. rem
  3. rem Batch file to build the program loader example LOAD.EXP
  4. rem  from LOAD.C and LOAD2.ASM.  It also builds an example
  5. rem  program FARHELLO.EXP which can be loaded and run by the
  6. rem  LOAD.EXP.  FARHELLO.EXP is a simple program which prints
  7. rem  "hello world" on the screen and then does a far return
  8. rem  back into the application which called it.
  9. rem
  10. rem This loader example code demonstrates how to use
  11. rem  the "Load .EXP file" system call within an application to
  12. rem  load and execute child programs or overlays.
  13. rem
  14. rem LOAD.EXP is built with the compiler driver which is shipped
  15. rem  with versions 1.6 and later of High C-386.
  16. rem
  17. rem Execute this example with the command line:  run386 load farhello.exp
  18. rem
  19. echo on
  20. 386asm farhello.asm -nolist
  21. 386link farhello -nomap
  22. 386asm load2.asm -I ..\..\includes\ -nolist
  23. hc386 load.c load2.obj -I..\..\includes -Hpro=..\..\includes\pl386.pro -l..\..\libs\dosx32.lib -l..\..\libs\dos32.lib -nomap
  24.