Using Fortran DLL with Excel VBA

Dear Mat,

After some additional reading, I checked my DLL with a Dependency Walker. I found that my DLL (S_LIB.DLL - see my last message) finds all the necessary PGI DLLs (I copied the redistributable DLLs to the project directory), but there is a lower level set of DLLs (134 DLLs), most of them named API-MS-WIN-*.DLL and a few named EXT-MS-WIN-*.DLL, which my DLL cannot find.
I cannot imagine that finding and copying all these DLLs in the project directory is the preferred option. This looks to me more like an installation problem.

Some additional information:

  • I am using Widows 10


  • I have installed Visual Studio 17 before installing the PGI compiler.

Do you have an advice for me, what I need to do?

Cristian