View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Sun Dec 25, 2005 2:40 am Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - |
|
|
We would like to move our application to .NET while reusing legacy Fortran code. We connect to our database in our Fortran code and many Fortran subroutines access our database. How does the Salford FTN95 for Microsoft .NET compiler handle this? What do we have to do to our Fortran code in order to access the database within the Fortran routine in the .NET environment? Is there direct database access from Fortran in .Net?
Thank you.
Shelley
|
|
Back to top |
|
|
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Wed Dec 28, 2005 8:41 am Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - |
|
|
One of the advantages of using FTN95 with .NET is that you get direct access to all of the .NET runtime libraries. There is quite a lot available for database access and all of these objects and routines can be created and used within your Fortran code. Looking through the .NET documentation classes such as:
System.Data.SqlClient.SqlConnection
and associated classes should provide all the functionality you need. You will have to write some FTN95 specific .NET extensions to use these classes. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Sun Jan 01, 2006 7:48 am Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - |
|
|
Can you direct me to examples of these FTN95 specific .NET extensions and how they integrate with our legacy Fortran code in order for us to access the database from our Fortran legacy programs and subroutines in the .Net Environment.
Thank you
Shelley Berliner
Shelley Berliner
shelley@iba.org.il |
|
Back to top |
|
|
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Sun Jan 01, 2006 6:34 pm Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - |
|
|
The example code that is included with FTN95 and the help files should contain all the information you need. |
|
Back to top |
|
|
|