forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create DLL for SALFORD C code

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
xian1633



Joined: 18 Nov 2008
Posts: 4

PostPosted: Wed Feb 04, 2009 11:12 am    Post subject: Create DLL for SALFORD C code Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Wed Feb 04, 2009 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group