View previous topic :: View next topic |
Author |
Message |
m.burkhardt
Joined: 02 Sep 2008 Posts: 26
|
Posted: Wed Jun 01, 2011 12:20 pm Post subject: VS2010 gets Message Unable to find a version of the runtime |
|
|
Hello, I have a question:
If I compile my Fortran DLL .NET Program:
Code: |
PROGRAM Main
OBJECT("System.String[]") STR1
STR1=NEW@("System.String[]",10)
END
|
i get the following Message:
"Unable to find a version of the runtime to run this Application"
I use VS2010
Can anyone help me?
Greetings from Germany!
Michael |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Jun 01, 2011 9:11 pm Post subject: |
|
|
I don't know exactly what is wrong but your machine will probably have various versions of the .NET runtime installed and these correspond to DBK_LINK.exe, DBK_LINK2.exe etc.
The FTN95 command line option /CLR_VER is relevant here but only when also using /LINK.
The thing to do is to look at the FTN95 commands provided by the FTN95 Visual Studio plugin to see which of the DBK_LINKs is being used and then compare this with the installed versions of the .NET runtime.
There ought to be a setting in the Project Properties that provides the relevant link.
This is all just a guess from my memory but it may help you. |
|
Back to top |
|
 |
|