- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a big problem. I am writing a program in fortran-90, and now I need to make a GUI in C#. My problem is that I am not able to make the connection between the two languages. For the record, I am using Visual Studio 2003.
Earlier I have been using the Salford Fortran compiler, and I had no problem connecting to and from C#. I just had to make a dll out of my fortran files, and add a reference to this dll in my C# project. Now I have been forced to change to Intel Fortran Compiler, and I am no longer able to add the reference to the fortran dll. When I try to add the reference to the dll in my C# project, I get this error: A reference to could not be added. This is not a valid assembly or COM component. Only assemblies with extension dll and COM components can be referenced. Please make sure the file is accessible, and that it is a valid assembly or COM component. (If anyone wonder, my file HAS the extension dll, so I really dont understand the error message)
If anyone know anything, please contact me. I really need some help here
Sverre
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using System;
namespace ConsoleApplication1
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
System.Diagnostics.Process p=new System.Diagnostics.Process();
p.StartInfo.FileName = "Sine2D.exe";
p.Start();
}
}
}
Build and transfer ConsoleApplication1.exe to
C:Program FilesIntelFortranArrayVisualizersamplesFortranSine2DDebug
after you've built the Sine2D sample.
Now 2-click ConsoleApplication1.exe and see Sine2D.exe run.
HTH,
Gerry T.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page