Silverfrost Forums

Welcome to our forums

Calling .NET from Fortran (Shared members)

19 Nov 2014 2:41 #15102

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…

19 Nov 2014 4:31 #15103

I don't know of any way to do this.

19 Nov 2014 9:31 #15104

Thanks Paul. Quite strange, though, considering that in the opposite case, when Fortran DLLs are called from .NET, members are always seen as shared…

Please login to reply.