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

Run-time error '53'

alanbcole
Beginner
707 Views
I recently made a Fortran DLL file that received runtime error 53. While i traced this issue to a DLL that was not initially installed on my machine. Which I have fixed by linking to the dformd.lib. The problem that i now have is that I shared a folder on my hard disk so others could use it and any one using it from the shared folder, not on my machine, gets the runtime error.

Thanks for any help
0 Kudos
3 Replies
Jugoslav_Dujic
Valued Contributor II
707 Views
If I got you right -- which I'm not sure -- you can copy dformd.dll from system32 to your fortran dll directory. In this way, it will be automatically loaded from wherever the folder is accessed.

Jugoslav
0 Kudos
alanbcole
Beginner
707 Views
Thanks. I figured that out eventually but ran into another intresting problem. As my dll grew I would get the same problem even after using DUMPBIN on my dll and any file that was listed in the imports list. I used DUMPBIN until IMPORTS listed no more linked filed. I found that if I make a release file i don't have the issue any more. Thanks again for the help.
0 Kudos
Steven_L_Intel1
Employee
707 Views
Right - debug configuration DLLs are linked to non-redistributable DLLs. Always build a Release configuration if you'll be copying the DLL elsewhere.

Steve
0 Kudos
Reply