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
Where can I find microsoft visual c++?
What is dao in vc ++?
What is microsoft visual c++ 2010 x86 redistributable?
How can we use cmutex?
What is the Use of the Developer Studio Editor?
Do I need microsoft visual c++?
How do you handle drag and drop in ole?
What is visual c++ runtime?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
Can I uninstall visual c++ 2005?
Is microsoft visual c++ a virus?
Explain the significance of initapplication() in vc++.
Can I delete old microsoft visual c++?
Difference between getmessage, postmessage & peakmessage.
how to declare and populate an array of checkBoxes