forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Legacy Fortran Program or Subroutine that has embedded SQL - using it in .NET

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sun Dec 25, 2005 2:40 am    Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - Reply with quote

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

PostPosted: Wed Dec 28, 2005 8:41 am    Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - Reply with quote

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
View user's profile Send private message
Anonymous
Guest





PostPosted: Sun Jan 01, 2006 7:48 am    Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - Reply with quote

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

PostPosted: Sun Jan 01, 2006 6:34 pm    Post subject: Legacy Fortran Program or Subroutine that has embedded SQL - Reply with quote

The example code that is included with FTN95 and the help files should contain all the information you need.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group