Microsoft KB Archive/88445

{| = Running FoxPro 2.0 with MS-DOS Version 5.0 =
 * width="100%"|

ID: Q88445

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.0

SUMMARY
If you are using the MS-DOS version 5.0 HIMEM.SYS and EMM386.EXE files, EMM386.EXE gets all of its memory from the extended (XMS) memory managed by HIMEM.SYS. Without any parameters, it defaults to providing only 256K of Virtual Control Program Interface (VCPI) managed memory (also displayed as expanded [EMS] memory). 256K of VCPI-managed memory is not sufficient to load the Extended (32-bit) version of FoxPro (FOXPROX.EXE). Even if the other 3 MB of extended memory is available as XMS (managed by HIMEM.SYS), OS386 will ignore it. It only uses the first memory manager it sees (in the order outlined above).

If you want to use EMM386.EXE with the Extended version of FoxPro, you must add a numeric parameter in the DEVICE=EMM386.SYS line. The number should reflect the amount of extended memory on your machine in kilobytes and be a multiple of 16. If a message is displayed at boot time about EMM386 adjusting the value, change your CONFIG.SYS file to reflect that value, and that message will no longer be displayed. DO NOT use the NOEMS parameter; doing this will also turn off VCPI services that are accessed through EMS.

Sample CONFIG.SYS
DEVICE = C:\DOS\SETVER.EXE DEVICE = C:\DOS\HIMEM.SYS DEVICE = C:\DOS\EMM386.EXE 4096 RAM DEVICEHIGH = C:\DOS\ANSI.SYS FILES = 99 BUFFERS = 20 SHELL = C:\DOS\COMMAND.COM C:\DOS\ /P DOS = HIGH,UMB Additional reference words: FoxDos 2.00 KBCategory: kbprg KBSubcategory:
 * }