LOADER

Example of loading a .EXP file from within an Application.
--------------------------------------------------------------------

This directory contains a fragment of example code which demonstrates
the use of the "load .EXP file" system call.  It shows how you can
use this call from within your application to load and execute
a .EXP file as an overlay or child program.  In this example, we
call the child program with a FAR call, and when the child has
completed execution, it returns with a FAR return.  You can, of
course, make the interface between the application and child process
more complex depending on your needs.

The example child program which we build here is called FARHELLO, and
it simply writes the string hello world on the console and does a FAR
return back to the application.  Note that it does NOT do an INT 21h,
subfunction 4C to exit -- this would cause both the application and 
child to exit.  It instead does a FAR return to get back to the application.

To build the example, use the load.bat file in this directory.

Execute the example with the command line:

	run386 load farhello.exp

This example was built with High C-386 Version 1.6, and its compiler driver.
You may have to make small modifications to the batch file which builds it
for other compilers or different versions of High C-386.
