Re: DLL Stacker overflow

Re: DLL Stacker overflow

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

Retired 12/31/2016
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Retired 12/31/2016

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today