replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Can FTN95 work with VC6.0?
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 

Can FTN95 work with VC6.0?

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



Joined: 26 Oct 2010
Posts: 3

PostPosted: Mon Dec 13, 2010 9:42 am    Post subject: Can FTN95 work with VC6.0? Reply with quote

Hello All,

I create a static library with FNT95, but it cannot work with VC6.0.

The function declare in VC6.0 is right.

Are there some special settings?

Any suggestions or tips are helpful.

Thank you in advance.
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 460
Location: Manchester

PostPosted: Tue Dec 14, 2010 11:24 pm    Post subject: Reply with quote

In general (and with VC6.0 in particular) you would be better calling FTN95 routines via DLL. The problem is the C Runtime. FTN95 requires 'ours'. VC wants to link against 'theirs'.
Back to top
View user's profile Send private message Visit poster's website
rockfortran



Joined: 26 Oct 2010
Posts: 3

PostPosted: Thu Dec 16, 2010 6:44 am    Post subject: Reply with quote

Thank you, Robert.

In the project settings, we cannot ignore some lib files.
e.g: we can ignore libc.lib,msvcrt.lib when using VC6.0 and CVF6.5.

but if I create a DLL project, FTN95 cannot create a shared library file at the same time.

Also I want to hide the calling of Fortran.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Dec 16, 2010 8:06 am    Post subject: Reply with quote

If you need to use a static rather than a dynamic library then consider trying the Silverfrost C++ compiler SCC instead.
Back to top
View user's profile Send private message AIM Address
rockfortran



Joined: 26 Oct 2010
Posts: 3

PostPosted: Thu Dec 16, 2010 8:51 am    Post subject: Reply with quote

Thank you, Paul.

I will give it a try.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support 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