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
Is visual c++ a compiler?
Can I remove microsoft visual c++?
What is microsoft visual c++ 2008 redistributable?
Can I uninstall visual c++ 2005?
How do I reinstall microsoft visual c++?
What is microsoft visual c++ used for?
What is ole? How do you handle drag and drop in ole?
Can I uninstall visual c++?
What is vcredist_x86 exe?
What is a microsoft visual c++ 2008 redistributable?
What is the difference between an MLE and an SLE?
What is microsoft visual c++ 2013 redistributable?
What is difference between c++ and visual c++?
What is microsoft visual c++ 2008 redistributable and do I need it?
difference between assert and verify.