I think there's a bug in the 'LIBRARY' directive, when it's placed in the source code. If I add a line:
LIBRARY 'routines.dll'
to my source code (I've tried at the top of the source and within the relevant subroutine block) then my ASSEMBLY_EXTERNAL call fails, hinting that I've failed to include a library directive.
But if I add
/LIBRARY routines.dll
to the FTN95 command line, then it works.
If I have a large number of .NET dlls to reference, I'd rather not have to add them to the compile command in a long list for every compilation, or have I misunderstood what I'm supposed to do?
K