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

Fortran calling C

Status
Not open for further replies.

werjocks

Programmer
Oct 27, 2003
24
US
Hey,
Im trying to have a Fortran program link to a C program through a dll. I keep getting a invalid or corrupt file error when I compile the fortran. The C program is compiled as a dll in Visual C++ 6.0, the Fortran in Compact Visual Fortran 6.6a... Does anyone have a working example of how to do this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top