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.
Welcome to our forums
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.
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'.
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.
If you need to use a static rather than a dynamic library then consider trying the Silverfrost C++ compiler SCC instead.
Thank you, Paul.
I will give it a try.