I have a program which sends and receives messages over TCP/IP.
Originally the message size was 8K and it worked fine. The
message size has been changed to 16K. The program is compiled
-ms switch for a 16-bit small model and it compiles without
errors.
However, when the program is running, I get the error:
Stack Overflow at 0005:0000CF46
and the program halts.
Have I encountered a limitation in the memory model or possibly
the 16 bit addressing? Should I try other memory models? Can
program with different memory models co-exist? And lastly,
is there any hardware reasons for keeping the 16-bit small
memory model (I am running on an RTP6800 single board computer
from RTP Corp.)
I have a program which sends and receives messages over TCP/IP.
Originally the message size was 8K and it worked fine. The
message size has been changed to 16K. The program is compiled
-ms switch for a 16-bit small model and it compiles without
errors.
However, when the program is running, I get the error:
Stack Overflow at 0005:0000CF46
and the program halts.
Have I encountered a limitation in the memory model or possibly
the 16 bit addressing? Should I try other memory models? Can
program with different memory models co-exist? And lastly,
is there any hardware reasons for keeping the 16-bit small
memory model (I am running on an RTP6800 single board computer
from RTP Corp.)
“Shawn” <> smdhome@yahoo.com> > wrote in message
news:> MPG.15a6a6ef486c11b989686@inn.qnx.com> …
I have a program which sends and receives messages over TCP/IP.
Originally the message size was 8K and it worked fine. The
message size has been changed to 16K. The program is compiled
-ms switch for a 16-bit small model and it compiles without
errors.
However, when the program is running, I get the error:
Stack Overflow at 0005:0000CF46
and the program halts.
Have I encountered a limitation in the memory model or possibly
the 16 bit addressing? Should I try other memory models? Can
program with different memory models co-exist? And lastly,
is there any hardware reasons for keeping the 16-bit small
memory model (I am running on an RTP6800 single board computer
from RTP Corp.)