Hi!
I'm evaluating if it is possible to easily integrate our existing fortran code into c# application using your compiler. While trying some simple examples I experienced two blocker issues and a minor one.
I run Visual Studio 2013 Update 4, Silverfrost compiler 2.0.0.0.
I put an example of my project here: https://github.com/jezzarax/FtnIntegration
As a simple assessment project I'm trying to create a fortran console application with a backing c# library with a number of simple static methods that use standard .NET classes (nothing more complex than Console.WriteLine and some array processing).
I successfully managed to call simple Console.ReadLine wrapper from inside the fortran code. However when I invoked the same function from inside a loop in fortran code I got an error 'error 1119: No .NET method matches this call'. Even trying to put the same line after the loop gave me the same message. Check the example file \FtnIntegration\FortranCore\FreeFormat1.f95 at lines 12 (worked fine), 21,26,39 (gave the error message)
I also implemented a simple c# function that accepts a number and prints it to the console. It worked from the beginning, but when I put it inside/after the loop it made compilation process crash with screenshots I put at https://github.com/jezzarax/FtnIntegration/tree/master/IssueScreenshots.
I tried to change tarted architecture between x86 and AnyCPU, but no difference.
I also got a minor issue during compilation, for some reason I need first to invoke a compilation of .NET project (despite of configured build order) and when I compile the fortran project, I get the resulting binary in project root, not in /bin/Debug or /bin/Release, but the dependent .NET library is put inside /bin/Debug. Did I configured something wrong in the project?
Thanks in advance!
Edit: added version numbers.