Category "dynamic-linking"

What happens to a dlopen-ed library if my process crashes?

According to the documentation, dlclose decrements a reference counter. But what happens if my process crashes, or if I don't call dlclose it before it finishes

How does os figure if a dll is already loaded in memory or how does os figure two dll are the same?

In my comprehension, "dll/so" can be shared between programs(processes). for example when "libprint.so" is loaded in "main"(called main1) at first time, "libpri

Can you relink/modify relative shared library look up paths?

I am running into the following situation. Project A has libraries A1, A2, A3... That follow their own directory structure. For example: Libaries/ | |--Dir1/ |

GetProcAdress vs Linker

After doing some research on linking DLLs I came across two different methods for loading DLLs. The first method was using the linker. I added the paths to the