home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!dhhalden.no!sofus.dhhalden.no!runeh
- From: runeh@sofus.dhhalden.no (RUNE HALFDAN HOLST HUSEBY)
- Subject: How to get bigger stack
- Message-ID: <runeh.42@sofus.dhhalden.no>
- Sender: news@dhhalden.no (Network News User)
- Nntp-Posting-Host: pc178
- Organization: Ostfold College
- Date: Thu, 13 Aug 1992 03:37:06 GMT
- Lines: 31
-
- I'm currently working on a C++ program with Borland C++ 3.0.
- The project has now become quite big, big enough to 'blow the stack'.
- Since I have set the 'Check for stack overflow' compiler option on, I always
- get the warning that there has occured a stack overflow.
-
- So, the question is, how should I make the stack big enough?
-
- I have tried to set the STACKSIZE variable in my .DEF file bigger, without
- stopping me from getting Stack Overflow errors.
-
- Is it possible to manipulate the _stklen variable to get bigger stack under
- windows, as you do under DOS?
-
- Any help will be greatly appreciated, since I've been fighting this problem
- quite a while.
-
- Thanks!
-
- runeh@sofus.dhhalden.no
-
-
-
-
- /-------------------------------}--}--{ /----------------------------------\
- | Rune Halfdan Holst Huseby } { | S-Mail: Atomveien 18 |
- | _______________________________}{ | 1750 HALDEN |
- | (_____(_runeh@sofus.dhhalden.no_) | NORWAY |
- |-------------------------------------/ \----------------------------------|
- | Real programmers never work 9 to 5. If any real programmers are around |
- | at 9 am, it's because they were up all night. |
- \--------------------------------------------------------------------------/
-