replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Calling ftn95 from VB.NET - System.StackOverflowException
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Calling ftn95 from VB.NET - System.StackOverflowException

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Emanuele



Joined: 21 Oct 2009
Posts: 78
Location: Bologna (Italy)

PostPosted: Mon Jan 18, 2010 7:46 pm    Post subject: Calling ftn95 from VB.NET - System.StackOverflowException Reply with quote

I'm arranging a quite complex old fortran77 program (win32 exe) in a subroutine (DLL) accessible from a new visual basic NET program. Crying or Very sad
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. Crying or Very sad Crying or Very sad

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" Shocked : what does it mean?

Thank you in advance for any suggestion!
Back to top
View user's profile Send private message
Emanuele



Joined: 21 Oct 2009
Posts: 78
Location: Bologna (Italy)

PostPosted: Tue Jan 19, 2010 10:31 pm    Post subject: Reply with quote

For a good answer follow this link:

http://www.atalasoft.com/cs/blogs/rickm/archive/2008/04/22/increasing-the-size-of-your-stack-net-memory-management-part-3.aspx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group