PRB: Windows NT 4.0 May Close FoxPro for MS-DOS ApplicationID: Q168396
|
If a FoxPro 2.6a for MS-DOS application executes a looping program structure, Windows NT 4.0 terminates the FoxPro application without warning. No error message or other information appears on the screen. This happens both to FoxPro for MS-DOS executable files and programs running in the development version of the product. The behavior also occurs on machines upgraded to Service Pack 1 and 2.
You must add a new value to the Windows NT 4.0 registry. Under the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Wow key, add a new
value, DisableVme, by following the steps listed below:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Wow
DisableVme
1
This problem is most frequently encountered when FoxPro 2.6a for MS-DOS
executes a looping program structure. Examples of this are DO
WHILE...ENDDO, SCAN...ENDSCAN, and IF...ENDIF statements that place a
program in a repetitive cycle. Normally, FoxPro 2.6 for MS-DOS runs
normally in all other circumstances. For instance, developing in FoxPro's
development environment (interactively with the Command window) or even
running a screen with a READ CYCLE does not provoke a shut down. However,
if any FoxPro for MS-DOS application unexpectedly shuts down without
producing a error message regardless of the activity it is performing, you
should consider the problem described in this article as a possible cause.
This behavior is not totally consistent across different machines. Some
machines are able to run looping program structures for many hours before
the application shuts down. Other machines, however, execute these commands
for only a few moments before termination of the FoxPro application.
DO WHILE .T.
? FILE("C:\Config.aaa")
ENDDO
Additional query words:
Keywords : kberrmsg FoxDos FxenvOs winnt
Version : 2.5 2.5a 2.5b 2.6 2.6a
Platform : MS-DOS
Issue type : kbprb
Last Reviewed: July 29, 1999