TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: HERBERT BUSHONG
date: 1997-08-16 03:38:00
subject: !!StackControl???

::>     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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.