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

Fortran DLL

Status
Not open for further replies.

Toro2005

Programmer
Jan 9, 2006
1
FR
Hello,

I have a little problem:

I have built a Fortran routine in dll in order to use it in Excel with a VBA macro. The problem is that my Fortran routine opens a external text file ( OPEN(unit=1,file='text.dat') and when I launching the dll from the VBA macro, the procedure is unable to find this external text file.

Is it existing a way to include this external text file in the Fortran dll to avoid this problem?

Thank you for your help.


 
Try the full name of the file. It probably cannot find the file because the start directory that the program runs in is incorrect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top