Silverfrost Forums

Welcome to our forums

Create DLL for SALFORD C code

4 Feb 2009 10:12 #4288

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

4 Feb 2009 12:14 #4290

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.

Please login to reply.