On 29.09.2023 at 10:55, Tomasz Dubiel wrote:
> Doesn't it happen in your environment? 32bit Delphi exe using fbclient.dll
> 3.0.11 - can you check what dlls are used by your exe (using for example
> ProcessExplorer)?
Just checked. With 3.0.11 fbclient it's exactly as in your case
(msvcr100.dll from the app folder, msvcp100.dll not loaded, instead
loaded msvcp_win.dll from SysWOW64).
With 2.5.9 client, none of msvcp80.dll, msvcr80.dll got loaded from the
app folder. Instead, the process loaded msvcp_win.dll from SysWOW64 and
msvcr80.dll from WinSxS/very_long_foler_name_here/.
With 4.0.2 client, msvcp140.dll got loaded from the app folder, but
msvcp_win.dll from SysWOW64 was loaded as well. vcruntime140.dll from
app folder was not loaded, instead msvcrt.dll from SysWOW64 was.
So it seems it depends on which VC runtimes have been previously
installed in the target system (the link provided by Dimitry explains
much - the app current dir is way down on the 7th place). Mine is
probably pretty littered (Visual Studio, Embarcadero, a couple of
different compilers and interpreters, and a lot of other software, each
of which might have installed the vc runtime in one version or another).
regards
Tomasz