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 .NET from Fortran (Shared members)

 
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: 77
Location: Bologna (Italy)

PostPosted: Wed Nov 19, 2014 3:41 pm    Post subject: Calling .NET from Fortran (Shared members) Reply with quote

Declaring a .NET class by an OBJECT statement, it is possible to access fields of the class using the % operator (ClassName%MemberName) and methods using ASSEMBLY_EXTERNAL statement.

However, this does not work with members declared as Shared in the .NET class (Visual Basic .NET). Is there a way to work with shared members (especially shared fields)?

Thanks for suggestions…
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Wed Nov 19, 2014 5:31 pm    Post subject: Reply with quote

I don't know of any way to do this.
Back to top
View user's profile Send private message AIM Address
Emanuele



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

PostPosted: Wed Nov 19, 2014 10:31 pm    Post subject: Reply with quote

Thanks Paul. Quite strange, though, considering that in the opposite case, when Fortran DLLs are called from .NET, members are always seen as shared…
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