How a dll will be sharable by more than one exe?
Answer Posted / d.v.rama krishna
If a dll is Sharable, all the functions are set in global
data segment, when ever a exe is called the SCM (Service
control Manager ) will increment reference count by 1, if
the second exe is called the same dll, SCM will increment
by 2, if first exe is unloaded or terminatred it decrements
the count by 1.
And finally if reference count is 0, the dll will unloaded
from the memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Do I need ms visual c++ on my computer?
Do I need microsoft visual c++ 2005 redistributable on my computer?
What is cmutex? How can we use it?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is microsoft visual c++ redistributable and do I need it?
Explain the significance of initapplication() in vc++.
Is microsoft visual c++ a virus?
What is vcredist?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is the difference between an MLE and an SLE?
How do I reinstall visual c++ on windows 10?
What is iunknown?
What is microsoft visual c++ 2013 redistributable?
Where can I find microsoft visual c++?
Where can I find microsoft visual c++ on my computer?