View previous topic :: View next topic |
Author |
Message |
xian1633
Joined: 18 Nov 2008 Posts: 4
|
Posted: Wed Feb 04, 2009 11:12 am Post subject: Create DLL for SALFORD C code |
|
|
Dear sir,
We would like to create DLLs for my C code to connect to our FORTRAN95 SATURN DLL. Currently the two parts are connected together via compiling/link stages for .exe.
Would you please help to show us how to create DLL for my C code, which is normally compiled by Salford FORTRAN 95 compiler containing C?
Mant thanks for your help,
Yanling
Atkins |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Wed Feb 04, 2009 1:14 pm Post subject: |
|
|
For a single file you can probably issue the command...
SCC mycode.cpp /LINK mycode.dll
Otherwise you can link separately and then use SLINK
together with the command "dll". See the SLINK details in FTN95.chm.
You should also be able to create a dll project in Plato using C/C++ code.
Not sure about Visual Studio. |
|
Back to top |
|
|
|