OLD DCAL STACK OVERFLOW
Posted: Sat Jan 17, 2009 8:16 pm
Stack overflow occurs due to' memory problems'. Since Wndows XP this has become more of a problem trying to run an old DOS program in the Windows environement.
The Dcal compiler uses a two pass process. Dcc.exe calls dcc1.exe followed by dcc2.exe generating extra memory overhead.
The solution is to reduce memory usage by calling dcc1.exe to generate the .dci file followed by dcc2.exe to generate the .dco file.
eg to compile a dcal program test.dcs
dcc1.exe test
If successful then
dcc2.exe test
This is best achieved by a batchfile command sequence.
Regards
Rod Walker
The Dcal compiler uses a two pass process. Dcc.exe calls dcc1.exe followed by dcc2.exe generating extra memory overhead.
The solution is to reduce memory usage by calling dcc1.exe to generate the .dci file followed by dcc2.exe to generate the .dco file.
eg to compile a dcal program test.dcs
dcc1.exe test
If successful then
dcc2.exe test
This is best achieved by a batchfile command sequence.
Regards
Rod Walker