- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to use existing FORTRAN code in C# 2005 Windows applications. I could not find instructions anywhere on the best way to do this. Could anyone point me in the right direction?
Thanks.
Rod
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rod,
I have run into the same problem. I have started to experiment with Fortran and C# in the same VS 2005 solution. I habe been able to pass integers, real numbers, and arrays back and forth from C# to a fortran dll. Please see the attached project for an example.
You can debug in both C# and fortran, but you have to turn on an option in the C# project. Click on Project/properties. Choose the debug tab. Check the box to enable unmanaged code debugging.
Hope that helps.
Chad

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