Question
What is implicit and explicit linking in dynamic loading?

Answers

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

include the math.h where add() prototype is there as a import function for compilation,
include math.lib for linking.
place math.dll DLL at the path of our application.

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:

LoadLibrary() - loads and links a input library form the DLL path, or current path,
GetProcAddress() - finds the symbol/function address by its name for a loaded DLL
FreeLibrary() - unloads the loaded DLL instance   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Why are there no global variables in java?
  • Q How To Test the Session Garbage Collection Process?
  • Q Name the winner of the Miss World 2017 beauty pageant?
  • Q Match these music/fashion styles (UK, and probably elsewhere) to their main decades of popularity, 1950s through to 2000s: New Romantics, Goths, Punks, Emo, Teddy Boys, Mods?
  • Q What is meant by "burden of proof"?
  • Q Why Object can contain any type of data in .NET ?
  • Q Sorrel's cement is-
  • Q Which of the following is not a legal way of charging for services if you are not exempt from federal law? (A)$799 for a year of service (B)$99 setup after setup has been performed. $59 a month for work done the previous month (C)$199 setup after setup has been performed, then $50 per deleted/corrected item. (D)$2500 six months after client has enrolled and completed a six month service contract
  • Q Differentiate between the uniform flow and non-uniform flow?
  • Q What do you understand by side-by-site execution of assembly
  • Q What are the basic element of base configuration of an oracle database?