Emanuele
Joined: 21 Oct 2009 Posts: 78 Location: Bologna (Italy)
|
Posted: Mon Jan 18, 2010 7:46 pm Post subject: Calling ftn95 from VB.NET - System.StackOverflowException |
|
|
I'm arranging a quite complex old fortran77 program (win32 exe) in a subroutine (DLL) accessible from a new visual basic NET program.
The VB main calls a ftn95 subroutine which calls other ftn95 subroutines inside the dll. During the initialization of one of these sub-subs I get a System.StackOverflowException. Of course there are many large arrays in common blocks and some smaller passed as arguments.
I'd like to ask how can I increase the stack size, since the linker options in the DLL project doesn't seem to work like in the exes.
Secondly, while checking the local variable status trough the debugger in visual studio, I found that for a character variable the debugger reports "sdbg error 39" : what does it mean?
Thank you in advance for any suggestion! |
|