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

CVF 6.6C problem with DFORRT.DLL

michael_green
Beginner
1,169 Views

Hi all,

I recently upgraded my CVF 6.6 to 6.6C (advice from Jugoslav). Now I find that DLLs rebuilt with the new version fail in release configuration. I get an error:

The procedure entry point for_read_dir_i8 could not be located in the dynamic link library DFORRT.DLL

In debug configuration there is no error.

The error is triggered at the point in the calling program where I attempt the following:

twtaddr = getprocaddress(hlb,"TWTABLE"C)

I'm in deep trouble if I can't sort this one out. Any suggestions?

Many thanks in advance,

Mike

0 Kudos
2 Replies
anthonyrichards
New Contributor III
1,169 Views
I assume 'hlb' is a valid handle to DFORRT.DLL? Why is GetProcAddress looking for 'for_read_dir_i8 ' when it has been asked to look for 'TWTABLE' ? Maybe what you seek is not in that library? More info is needed.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,169 Views
Quote from 6.6C3 upgrade page:

"As part of the enhanced support for INTEGER*8 record numbers in direct-access I/O statements as of version 6.6A, a set of six new run-time library routines has been added as follows:
  • for_delete_i8
  • for_find_i8
  • for_read_dir_i8
  • for_read_dir_fmt_i8
  • for_write_dir_i8
  • for_write_dir_fmt_i8"
Apparently, you have an old version of DFORRT.dll sticking somewhere around, and it's found in the PATH before the upgraded one. When you load the dll, it loads the "wrong" RTL dll, before the "right" one, and cannot find the symbol. The upgraded one has version 6.6.925.102.

0 Kudos
Reply