Excel VBA fails to correctly send arguments to Fortran DLL if argument list has changed, unless I change the DLL file name
I have a Fortran DLL (made using one of the latest Intel oneAPI IFORT compilers) and linked in Visual Studio 2019. One of the entry points contains an argument list of a mixture of Integer4 (Long in VBA) scalars and Real8 (Double in VBA) arrays. I call the function from Excel VBA using a Declaration like this (simplified to make it easy to follow):