View previous topic :: View next topic |
Author |
Message |
Clay
Joined: 20 Mar 2014 Posts: 23
|
Posted: Mon May 17, 2021 10:48 pm Post subject: Calling .NET dll from FTN95 |
|
|
I am trying to call a 3rd party .NET dll from fortran program and can't seem to get it working. Following along with the Help documentation, I am trying to use ASSEMBLY_EXTERNAL() and OBJECT(), but keep getting this error:
"error 810 - ASSEMBLY_EXTERNAL is only allowed in CLR mode (with /CLR switch specified)"
This error persists even when I add the /CLR directive through Project Compiler Options or to the appropriate line of a build script.
Can anyone help me figure out what I'm missing? Is there a working example of Fortran calling a .NET dll that I could study?
Thanks very much for any help! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7942 Location: Salford, UK
|
Posted: Tue May 18, 2021 7:14 am Post subject: |
|
|
Clay
Can you post a short subprogram that illustrates the failure? |
|
Back to top |
|
|
|