Software Archive
Read-only legacy content
17061 Discussions

Re: DLL Stacker overflow

Steven_L_Intel1
Employee
559 Views
It's the same linker, but the setting is not used for DLLs, since it's the EXE that determines the stack size. You'llhave to find ways to reduce the use of stack space - use ALLOCATABLE arrays instead of automatic arrays, for instance.

Steve
0 Kudos
2 Replies
Steven_L_Intel1
Employee
559 Views
The DLL has nothing to do with it - the size is a field in the EXE that invokes the DLL. Assume it is 1MB, as that is the MS default. The CVF release notes show how to use EDITBIN to "patch" the EXE and raise the limit, but if you do this to something like VB.EXE, you may break other things.

Steve
0 Kudos
Intel_C_Intel
Employee
559 Views
Same problem with Fortran DLL called from VB6. The program works fine for smaller cases, gives error 28 on large cases.
Is there a solution for this? I see 3 replies listed to the original question, but I can not find them in the forum database. I am urgently in need of a solution and would greatly appreciate some help. Please email to ghp@rebis.com.
Thanks, Graham Powell.
0 Kudos
Reply