Running FoxPro 2.0 with MS-DOS Version 5.0

Last reviewed: April 17, 1995
Article 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.

MORE INFORMATION

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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.