Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Read file error in Fortran DLL

pradeepnatekar
Beginner
495 Views

What is the default directory path when there are readfile statements in fortran dll created.

I get error of "Filed to open xxxx file for reading" even if the files are there in same directory where dll is located.

Regards,

Pradeep

0 Kudos
1 Reply
anthonyrichards
New Contributor III
495 Views

If it is a DLL, you must be calling it by running an .EXE first, so the file you need to
access should probably be in the same directory as the .EXE that calls the DLL (or calls a DLL that calls the DLL in question).

0 Kudos
Reply