Hi.
This is documented.
From PB 2022 Documentation (bullet 10).
PowerBuilder Runtime Packager - - Application Techniques (appeon.com)
From PB 2019R3 Documentation (again bullet 10).
Deploying Applications and Components - - Application Techniques (appeon.com)
I pretty sure that if a dll is found in the same path where your exe resides, this one will be used.
Be careful with following note from help:
The Sybase.PowerBuilder.DataWindow.Excel12.dll file will be automatically installed to the Windows GAC folder, for example, C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Sybase.PowerBuilder.DataWindow.Excel12, if you run the MSM or MSI package. However, if you manually copy runtime DLLs to the client (instead of using the MSM or MSI package), make sure to copy the Sybase.PowerBuilder.DataWindow.Excel12.dll file to the same directory as the application executable, as this file is a C# assembly DLL and cannot be loaded through the environment variable.
Andreas.