I've installed the personal edition (ftn95_personal.exe) on an XP system with VS2005 Standard Edition. When I try to use the VB Calculator example by clicking on
...\FTN95Examples\NET\FortranCalculator\VB\VB_Calculator.sln.
VS2005 attempts to convert this, but the conversion doesn't work ('One or more projects failed to convert...'). The FortranCalculatorFrontend is noted in the SolutionExplorer as 'unavailable'. I've tried adding the vb code manually and have un-installed and re-installed two times to no avail. I have also tried to build the program manually per the help instructions:
ms-help://MS.VSCC.v80/MS.VSIPCC.v80/Silverfrost.FTN95Help/FTN95Help/HTML/NETSAMPLES/FORTRANCALCULATOR.HTM
but (after fixing a couple of name-changes (see *1 below)) the program still will not run. When I compile the 'Debug' version I get the error: 'Unable to start debugging for target: ...Calculator.dll'. When I compile and run the release version, I get the standard Windows error: '...has encountered a problem and needs to close...'
*1 The 'ContainingClass' noted in the help file for the VB Calculator example is different from the 'ContainngClass' used in the example that was installed with the compiler. The difference is 'FTN95Calculator' versus 'ftncalc'. Also the Assembly_Interface for the PI function was different: 'PiValue' versus 'PiVal'.
On a very basic level, I noticed that the file dates/times in the example folder are significantly different. For example, some dates are:
10/21/2002 12:31 PM 1,028 AssemblyInfo.vb 07/03/2003 03:21 PM 3,566 VB_Calculator.sln 07/03/2003 03:21 PM 4,619 FortranCalculatorFrontend.vbproj 02/22/2008 10:48 AM 1,391 calculator.f95
Lastly, the other examples work (although with some I have to tinker a little after the conversion is made).
So, my question for the forum users is: Has anyone recently:
- Downloaded and installed the personal edition (ftn95_personal.exe);
- Double-clicked on the calculator example solution (...\FTN95Examples\NET\FortranCalculator\VB\VB_Calculator.sln);
- Had VS2005 successfully convert the solution;
- Built and run the program simply by doing a 'Build' - 'Build Solution' and 'Debug' - 'Start Debugging'.
If you have done this (without any other steps), then I at least know I have to fix something on my install of FTN95 or VS2005.
Any suggestions?
One other thing, I have successfully built the program by running the batch file buildrel.bat (after I added the necessary paths to vbc and resgen), but this does not create a solution I can load/view/edit in VS2005.
Thank you, matt