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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Compaq Visual Fortran from VB

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am a Fotran programmer who recently started using Compaq Visual Fortran and Visual Basic. I've been given a massive old Fortran program chocked full of subroutines and the assignment of creating a VB GUI to call that program and display the results.

I began by converting the Fortran code to use an input file that I envisioned would be written out by the GUI, but that got extremely complicated because the original code is made up of subroutines that call other subroutines that call yet more subroutines to actually read in the data. So, I'd like to learn how VF code can be converted to dll's and how those dll's can be accessed from a VB GUI. I'm hoping that this method will be easier in the long run than completely reorganizing the original code.

If anyone has any suggestions or tips on how I can accomplish this task this quickly, I'd really appreciate it. I can be reached at dmbluchard [at] go.com.

Thanks,

Dave
 
To David Blanchard,

I'm developing an Interface using Vb 6.0 that calls a Compaq visual Fortran
DLL.

I have also posted a thread on the tek tips Fortran/VB pages as I have a
problem passing across arrays and their dimensions but have unfortunately
received no replies, like you. The Fortran was previous written in F90.

I was wondering if we could discuss our VB /VF problems.

cheers Tod Kindler
a.k.a. imageek (Handle on the tek tips site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top