Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How difficult to generate Fortran dll's?

Status
Not open for further replies.

ctlin

Technical User
Apr 17, 2002
77
US
i have about sixteen '.f' files and a few '.com' files. most of the .f files have several subroutines in them that do math algorithms and simple i/o to the terminal. all of these files make one program i think.

how do i go about breaking this thing into dll's so that i can control the flow of the program from visual basic? does each '.f' file equal 1 DLL? Do I divide all the subroutines into their own DLL's? i realize that this is a pretty vague description of the program but i need general answers regarding the difficulty of converting a whole fortran program into something that can be run with a VB front-end. please help. thanks.



 
If you are using compaq visual fortran, create a DLL project and include all the fortran files in it. Since you are using VB as the front end, you probably wont need the files doing io to the terminal.

Hope this helps. CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top