View previous topic :: View next topic |
Author |
Message |
DAG
Joined: 24 Mar 2009 Posts: 1
|
Posted: Wed Mar 25, 2009 6:14 pm Post subject: Syntax of Exporting DLLs |
|
|
Hello,
I am trying to transform F95 code from and Intel compiler to be Silverfrost compatible. The one thing I am getting stuck on is exporting dlls. I am trying to get a function in a dll to export and be named what I want.
The code I am trying to translate is:
!DEC$ ATTRIBUTES DLLEXPORT :: Hrw_OpenMI_Initial_Out_Values
!DEC$ ATTRIBUTES ALIAS:'Hrw_OpenMI_Initial_Out_Values' :: Hrw_OpenMI_Initial_Out_Values
where Hrw_OpenMI_Intial_Out_Values is a function in a dll.
I know that !DEC$ is replaced by !FTN95$, but I haven't been able to work out the remaining syntax and haven't been able to locate an appropriate section in the user manual.
Thanks for any help! |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Fri Apr 03, 2009 12:15 pm Post subject: |
|
|
Working from memory I suspect that you cannot export using lower-case letters unless you can do this via a SLINK command. I am assuming that you are using Win32 and not .NET.
Have a look at the SLINK documentation in the help file FTN95.chm. |
|
Back to top |
|
 |
|