Posted: Tue Feb 04, 2003 12:32 am
Restored from previous forum. Originally posted by tinman.
Hi,
Can someone tell me whether the stack size for an application running under Windows is fixed (i.e. it has a maximum size limited by some value rather than available memory) or whether it is dynamic?
If it is fixed, is there any easy way to set it? There doesn't seem to be from the Windows Explorer UI so I'm guessing I'd need some tool (the languages I'm familiar with allow you to set this in the project options).
I've got some code here that runs through and has a few nested procedures. The code works fine in a small application (with not so much nesting) but crashes on a procedure call in a bigger application (I have a debug immediately before the call and one first line inside the procedure and it only ever displays the first debug before crashing).
Thanks.
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.50)
Hi,
Can someone tell me whether the stack size for an application running under Windows is fixed (i.e. it has a maximum size limited by some value rather than available memory) or whether it is dynamic?
If it is fixed, is there any easy way to set it? There doesn't seem to be from the Windows Explorer UI so I'm guessing I'd need some tool (the languages I'm familiar with allow you to set this in the project options).
I've got some code here that runs through and has a few nested procedures. The code works fine in a small application (with not so much nesting) but crashes on a procedure call in a bigger application (I have a debug immediately before the call and one first line inside the procedure and it only ever displays the first debug before crashing).
Thanks.
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.50)