[comp.os.msdos.programmer] Stack Help

news@trlluna.trl.oz (USENET News System) (10/04/90)

I am using Turbo C++ with turbo  Assembler.
Unfortnately I have a trouble with the stack.
Somehow it must be growing and overwriting the 
operating system.  My program works ok, but
crashes after a while.
From: simon@shiva.trl.oz (Simon Michnowicz - A Free Spirit)
Path: shiva!simon

Could some-one offer some advise?  I tried to
create my own local stack in the interrupt routine,
but I found some-thing else was writing to it,
perhaps the debugger.  So I am using the
stack of the local program (compiled under TINY model).
This is risky, as the stack could be that of the
DOS utilities, which could be small.

Much Thanks for any ideas, comments or products that could help me.

Simon Michnwoicz

 
***************************************************************************
Simon Michnowicz                |
Integrated Customer Services    |
Telecom Australia               |
Research Laboratories           |    "We Do It To Bits In Packets"
Phone:  Wk (03) 541 6769        |
	Hm No Fixed Abode       |
ACSNET simon@shiva.trl.oz.au    |
***************************************************************************