CAUSEWAY=SWAP environment variable setting.

SET TMP=C:\SWAP

The example above directs the CauseWay DOS extended to create it swap file, if any, in the C:\SWAP directory. Since the WL32 linker itself contains the CauseWay DOS extender, you may use the TEMP or TMP settings to specify a swap file directory when linking applications.

If no TEMP, TMP and CAUSEWAY==SWAP settings are present or are invalid, the current drive is used when creating a swap file. If free drive space is less than physical memory (extended and conventional) available at startup, then the DOS extender VMM is disabled, no swap file is created, and virtual memory is not available to the application.

CAUSEWAY Environment Variable

The CAUSEWAY environment variable controls operation of the DOS extender at application runtime. Eleven (11) options are supported, although they are ignored in a Window or OS/2 DPMI environment. Use any combination of the options in the following format:

SET CAUSEWAY=[setting_1;][setting_2;][setting_n;]

Items in brackets ([ ]) are optional. Do not actually type the brackets if you use the optional items. Items in italics should be replaced with actual values, separated by semicolons. Following is a description of the nine valid settings:

BIG1
Force CauseWay to use an alternate method to determine available extended memory under RAW memory environments (no DPMI host, no HIMEM.SYS loaded), allowing CauseWay to see more than 64M of memory on machines which do not support more than 64M under original INT 15h method. This method uses INT 15h function 0e801h to determine available extended memory, falling back to the original function if 0e801h fails. Note that old machines may not support this function and there is a slight chance that some older machines may not work if the BIG1 setting is used.

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page