Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!pyrdc!gmu90x!gmuvax2!smasters From: smasters@gmuvax2.gmu.edu (Shawn Masters) Newsgroups: comp.lang.c Subject: Re: Set stack size in TurboC Keywords: turbo-C Message-ID: <569@gmuvax2.gmu.edu> Date: 12 Nov 89 16:58:24 GMT References: <1004@east.East.Sun.COM> Reply-To: smasters@gmuvax2.UUCP (Shawn Masters) Distribution: na Organization: George Mason Univ. Fairfax, Va. Lines: 14 You may want to try not defining it again. Include the #include , and then type `_stklen=xxxx'. The dos.h file should have all the declerations taken care of for you, which means, you just set the variable. Normally one would think that this would just be a linker option that you specify at link time, but all of Borland's manuals seems to state differently. Using the "COMPACT" model, you can have a stack upto 64k, which should satisfy most of your needs. Shawn Masters George Mason University SMASTERS@GMUVAX2.GMU.EDU