Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How a dll will be sharable by more than one exe?

Answers were Sorted based on User's Feedback



How a dll will be sharable by more than one exe?..

Answer / nagapradeep

Dll can be shared by more than one exe by placing that dll in

'C:\WINDOWS\system32' folder.

Is This Answer Correct ?    2 Yes 1 No

How a dll will be sharable by more than one exe?..

Answer / 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

How a dll will be sharable by more than one exe?..

Answer / leossk

For each exe...dll will come and sit in its private memory
so that the global variables of dll won?t be updated for
each exe

Is This Answer Correct ?    0 Yes 1 No

How a dll will be sharable by more than one exe?..

Answer / karthikeyan

Generally, the global variables declared in a dll is
maintained uniquely for each process. If you want to share
the same variable for all the process, then it needs to be
placed within the data segment of the dll.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VC++ AllOther Interview Questions

Name some examples of the different types of windows found in a Windows application?

4 Answers  


What is microsoft visual c++ 2017 redistributable?

0 Answers  


How do you handle drag and drop in ole?

0 Answers  


What is the use of DDV and DDX routines ?

4 Answers   TCS,


Is visual c++ still used?

0 Answers  


What is type-safety?

1 Answers  


What is the difference between turbo c++ and visual c++?

0 Answers  


What is visual c++ 2008 redistributable x64?

0 Answers  


How do I change visual code font?

0 Answers  


What is vc++ redistributable?

0 Answers  


Name the function is used to transfer bitmaps to an output device?

2 Answers  


Can I remove microsoft visual c++?

0 Answers  


Categories