How to get "Share" button/feature as in native File explorer?

Unless the newer dll does contain symbols that were not in the original ones and you have some conditional branching inside the compiled code to use those symbols, the whole point of DLLs is that their inner code does not interfer in the compilation process. Meaning : you can compile source code A with old or new dll, the output product is the same (since it does not embed the dll code, unless you go through a tough process to somehow transform your dynamic library to a static one).

What can change is if your execution environment uses old or new DLLs, since, as the name indicates, they are linked at runtime (DLL = Dynamic-Link Library).