How to share libraries

Hi,

Below ones are directories the relevant libraries and binaries stay after built.
Meaning that I have 2 GUI application and 2 console apps, it works together.

WinGUI_A
  WinGUI_A Libs
  Resources
  WinGUI_A.exe
WinGUI_B
  WinGUI_B Libs
  Resources
  WinGUI_B.exe
ConsoleApp_A
  ConsoleApp_A Libs
  ConsoleApp_A.exe
ConsoleApp_B
  ConsoleApp_B Libs
  ConsoleApp_B.exe

I noticed that there are same libraries under each Libs directories such as XojoConsoleFramework32.dll and msvcr120.dll.
Is it normal?

Is there any way to share these libraries so I can just copy only one libraries when Installer is running?

Thanks.

Just have a ./Libs directory under the executables. Be warned that they all need to be from the same version of Xojo.

Ok.
Basically, Xojo(Build) makes a Lib & executable for the each build, but my Installer should take it for only copying files once.
Is that correct?

If you want to combine them yes.

Thanks for your advice.

May I have one more question?

For the WinGUI_A module, its library directory name is “WinGUI_A Libs”
Although I rename it to just Libs, it works.

How does a binary file find the relevant library directory?
It tries to “WinGUI_A Libs”, and if there isn’t, it tries to find “Libs” instead?

Thanks.

If you look in the wiki you will find a more complete explanation but basically certain paths are hardcoded in the runtime.

Ok. Thank you.