Re: DLL Stacker overflow

Re: DLL Stacker overflow

Steve Lionel (Intel)'s picture

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

Steve
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Steve Lionel (Intel)'s picture

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

Steve
Community Admin's picture

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.

Login to leave a comment.