James Kimble wrote:[color=blue]
> I'm porting a Unix app that I developed to windows and I'm having a
> terrible time getting the bloody thing to work. I can compile just
> fine but when I run I get stack overflow errors. I started taking
> things apart and found that the problem stems from the size of the
> arrays I'm declaring. These are arrays of structures and some of them
> are quite large (100,000 elements, it's an engineering app).
>
> I've been able to get things working by reducing the array sizes but
> I'd really like to know the limits for Visual C/C++ 6.0? The largest
> array I have is now down to 15,000 elements and that's going to just[/color]
From the online help:
"/STACK (Stack Allocations)
Home | Overview | How Do I | Linker Options
The Stack Allocations (/STACK:reserve[,commit]) option sets the size of the
stack in bytes.
To find this option in the development environment, click Settings on the
Project menu. Then click the Link tab, and click Output in the Category
box."
--
Regards,
Joe Hotchkiss,
http://joe.hotchkiss.com
XXXXXXXXXXXXXXXXXXXXXXXXX
X joe.hotchkiss X
X at baesystems.com X
XXXXXXXXXXXXXXXXXXXXXXXXX