Silverfrost Forums

Welcome to our forums

Can FTN95 work with VC6.0?

13 Dec 2010 8:42 #7240

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.

14 Dec 2010 10:24 #7248

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'.

16 Dec 2010 5:44 #7249

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.

16 Dec 2010 7:06 #7250

If you need to use a static rather than a dynamic library then consider trying the Silverfrost C++ compiler SCC instead.

16 Dec 2010 7:51 #7251

Thank you, Paul.

I will give it a try.

Please login to reply.