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
Explain the significance of initapplication() in vc++.
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
Difference between getmessage, postmessage & peakmessage.
Explain some of commonly used methods provided by iunknown.
Can I uninstall visual c++ 2005?
Where can I find microsoft visual c++ on my computer?
What is microsoft visual c++ 2013 redistributable package x64?
How do I create an mfc application in vc++?
Is microsoft visual c++ important?
What is microsoft visual c++ 2008 redistributable?
What is splitter window in vc++?
Difference between critical section, mutex and semaphore.
How do I change visual code font?
What is microsoft visual c++ redistributable and do I need it?
How you build a project using Developer Studio?