The SAMPLES directory also contains DRIVER2.PLI which is a modified version of DRIVER1.PLI that uses FETCH and RELEASE statements to dynamically link the SORT.DLL routines at run time instead of at load time.
The main advantage of using this version of the DRIVER program is that you can control when the sort routines are brought into and released from memory. Using FETCH and RELEASE statements, however, might increase your program's execution time.
Use the following sequence of commands to compile, link, and run this version of the DRIVER program under Windows: