SWI generated executable is not loading dll's from the local directory

The best way to guarantee that the correct DLLs are picked up is by copying them into the same directory as the executable. It might also be wise to make sure that environment variables such as SWI_HOME_DIR and PATH do not point at the wrong version. This is in the end just Windows DLL management.