- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the stack overflow error, see the on-disk documentation index under "stack, setting size of".
Yes, I have already had setting size, thus I got solution in Compaq 6.1.
But I intend to apply source codes into dll file. The on-disk documentation says control of stack setting size is limited at only an exacutable process.
Is it possible stack setting size to use in dll file? I have tried it , but it failed.
I want to make dll file from fortran sourec code(MS PowerStation 4.0) and link it with VC++.
Thanks.
Yes, I have already had setting size, thus I got solution in Compaq 6.1.
But I intend to apply source codes into dll file. The on-disk documentation says control of stack setting size is limited at only an exacutable process.
Is it possible stack setting size to use in dll file? I have tried it , but it failed.
I want to make dll file from fortran sourec code(MS PowerStation 4.0) and link it with VC++.
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it is not possible to change the stack size of a DLL.
If you are getting stack overflow errors, then try to find out where in the program the overflow is occurring. If it's on a routine entry, you probably have an "automatic array" (local array declared with a dimension based on an argument) - consider replacing this with an ALLOCATABLE array.
See the article on passing arrays in Newsletter 1 for more tips.
Lastly, upgrade to CVF 6.5A, which removes many unnecessary array copies.
Steve
If you are getting stack overflow errors, then try to find out where in the program the overflow is occurring. If it's on a routine entry, you probably have an "automatic array" (local array declared with a dimension based on an argument) - consider replacing this with an ALLOCATABLE array.
See the article on passing arrays in Newsletter 1 for more tips.
Lastly, upgrade to CVF 6.5A, which removes many unnecessary array copies.
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page