Stackoverflow

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

You can get a stack overflow message when you run a 16-bit apps from a command line. This is most likely to happen in batch files which recursively call the same program. Rename batch file to have a .CMD extension. Make sure that DOSONLY is not specified in CONFIG.NT and that NTCMDPROMPT is specified. This will cause the DOS subsystem to exit and reload between each and every execution of the .exe you run which should clear the stacks problem. Slower but if its broke ASIS, so what.

See Also

Featured Links