Difference between load-time and run-time dynamic linking

前端 未结 3 453
长情又很酷
长情又很酷 2020-12-16 04:07

What is the difference between Load-time dynamic linking and Run-time dynamic linking?

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 04:54

    Load time dynamic linking is performed by Operating System when an application is loaded. OS uses the information linker has placed in the file to locate the names of the dll, and then searches for those dlls, And if it fails to locate the Dll, it simply terminates and gives error message, otherwise, OS maps the DLL into the virtual address space of the process and increases the DLL reference count.

提交回复
热议问题