View previous topic :: View next topic |
Author |
Message |
Emanuele
Joined: 21 Oct 2009 Posts: 77 Location: Bologna (Italy)
|
Posted: Wed Nov 19, 2014 3:41 pm Post subject: Calling .NET from Fortran (Shared members) |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Nov 19, 2014 5:31 pm Post subject: |
|
|
I don't know of any way to do this. |
|
Back to top |
|
|
Emanuele
Joined: 21 Oct 2009 Posts: 77 Location: Bologna (Italy)
|
Posted: Wed Nov 19, 2014 10:31 pm Post subject: |
|
|
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 |
|
|
|