I am using Fortran DLLs together with VBA Excel since many years. The configuration so far was Windows 7 (x32), Excel 2013 (x32) and MS Developer Studio Fortran PowerStation 4.0 (1994!) also x32. This works without any problems. I recently moved to a more powerful computer (a Dell precision with NVIDIA) with Windows 10 (x64) and Excel 2019 (x64). Therefore my x32 DLLs do not work anymore. I changed the platform because I am developing a larger and more complex model, which is too slow on the old platform (it works though). Since I want to use GPU acceleration, the PGI Fortran compiler seems to me the obvious choice. I found reports of people using the Intel Fortran compiler for DLLs used with Excel x64, but no reports using the PGI compiler.

The PGI Fortran generated DLLs do not work with my VBA code. When I run the VBA code I get an error (Error code 53: cannot find file "MyDll.dll").

More Cristian Enachescu's questions See All
Similar questions and discussions