::> How do you increase the stack size using BC++4.51 for DOS and 16 bit
::> targets?
In your source (I usually place it in the same module as main())
you have to include the line:
extern unsigned _RTLENTRY _stklen = #####U;
where ##### is the stack size you want.
for example, the following would set a stack size of approx. 16K
extern unsigned _RTLENTRY _stklen = 16000U;
# Herbert Bushong harchon@centuryinter.net [TEAM OS/2]
- Blackbeard's BBS Intelec: 239:600/0
+ Fido: 1:19/19 http://www.intelec.com/software/
---
RM 1.31 2508 I am Kelly of Borg. Can I oh, you know what I mean.
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)
|