I am using the Intel Visual Fortran 2017 update 2 compiler to generate an application called "Solver64.exe" that gets shipped to our clients. It is working fine for most of the clients but a few of them are reporting an error message "The ordinal 747 could not be located in the dynamic link library Solver64.exe".
We know that this is caused by Windows locating and using an Intel Fortran redistributable library that is incompatible with the Intel Fortran 2017 update 2 compiler we have used. The incompatible redist has been installed by some other application in a different folder to where our redist gets installed. The problem is that Windows seems to have some haphazard way of finding redistributables and simply uses the first one that it finds, regardless of where it is and whether it's compatible or not. Is there any way to control this so that the correct redistributable for our application always gets used?