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
What is a microsoft visual c++ 2008 redistributable?
difference between assert and verify.
What is cwinthread class? Explain its advantages.
What is odbc in vc ++?
Can I uninstall visual c++ 2005?
Do you need microsoft visual c++?
What are the advantages of a message map
Explain the important features of vc++?
What is visual c++ runtime error?
What is iunknown?
What is the use of microsoft visual c++ 2015 redistributable?
Can I remove microsoft visual c++?
How do I remove microsoft visual c++ 2015 redistributable?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is microsoft visual c++ 2013 redistributable package x64?