Page 1 of 1

OLD DCAL STACK OVERFLOW

PostPosted: Sat Jan 17, 2009 8:16 pm
by rod_walker
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

Stack Overflow

PostPosted: Fri Feb 20, 2009 12:34 pm
by Vicente T. Fernandes
I received the message 'stack overflow' when I tried to compile with DCC in Windows XP Home Edition. See "Stack Overflow" topics in forum, I send a question about that. I received that message also when I used XBUILDER (XBUILDER uses DCC compiler). The system is WinXP Home.

Support DCAL answer:

"
Hello Vicente:

Please refer to the updated tutorial on the DDN site. DCC.EXE is not compatible with the command prompt in Windows.

Instead…

Type,

DCC1 TESTE

Then type,

DCC2 TESTE

Finally type,

DCL TESTE;

You should be able to compile your test macro using these three separate steps.

DCAL Tutorial

https://www.datacad.com/ddn/tutorial/dcal_tut.htm

Thank You,

MFM