- 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?
Question
What is implicit and explicit linking in dynamic loading?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
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
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
- 0
- 0
- New Answer
- Contributors: *,
More Software Questions..
What is the inputsplit in map reduce software?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How can you implement fine-grained auditing?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is IBM’s simple explanation for Big Data’s four critical features?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What does the NULLIF function do?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What happens if a start method is not invoked and the run method is directly invoked?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
what is the difference between mysql_fetch_array and mysql_fetch_object?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How will XML affect my document links?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Why to use Style Sheets?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are Filters in MVC?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can you explain Application layer in OSI model?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How to define new testplan attributes?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Which oracle package is used to manage the oracle lock management services?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is marker interface?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What types of partitioning are there for BW?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,