| 1. |
What Is Implicit And Explicit Linking In Dynamic Loading? |
|
Answer» Implicit Dynamic Linking or loading: When application or client uses its import table to link the external symbol/functions, it is called implicit linking. In implicit linking application USE prototype header and import library to link an external symbol. Example: Suppose we have a third party math library and add() is a function/interface we are using in our application. Then the following steps are needed
Explicit Dynamic Linking/Loading: When application does not link the external symbol by import library RATHER it loads the DLL at runtime. It does the same MECHANISM as operating system does during loading of the implicit linked DLL calls. This is done by using Win32 APIS like:
Implicit Dynamic Linking or loading: When application or client uses its import table to link the external symbol/functions, it is called implicit linking. In implicit linking application use prototype header and import library to link an external symbol. Example: Suppose we have a third party math library and add() is a function/interface we are using in our application. Then the following steps are needed Explicit Dynamic Linking/Loading: When application does not link the external symbol by import library rather it loads the DLL at runtime. It does the same mechanism as operating system does during loading of the implicit linked DLL calls. This is done by using Win32 APIs like: |
|