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

Missing DLL Dependencies at Runtime – Works in Excel 32-bit but Fails in Other Contexts

DSKapkoti
Beginner
238 Views

We’re encountering the following error when trying to run a DLL:

"Could not find module ‘DLL_Name.dll’ (or one of its dependencies)."

Interestingly, the DLL works perfectly when called from Microsoft Excel (32-bit), but fails in other environments.

From our research, it seems the DLLs should be built using the "Release" configuration. However, we’re unsure which supporting DLLs are required at runtime to ensure proper execution.

Questions:

  1. Is there a definitive list of runtime dependencies required for a DLL built in Release mode?
  2. Are there tools or best practices recommended by Intel to identify missing dependencies?
0 Kudos
2 Replies
andrew_4619
Honored Contributor III
233 Views

There are numerous potential dependencies but the source content and build options can change what is needed.  Use the free tool from

"Dependency Walker (depends.exe) Home Page"

 

Which will show what dependencies a specific program has and if they are satisfied.

 

0 Kudos
jimdempseyatthecove
Honored Contributor III
133 Views

Intel ifx generates 64-bit code.

0 Kudos
Reply