Reference counting in com, DOT NET Programming

What is Reference counting in COM?

The Reference counting is a memory management method used to count the number of times an object has a pointer referring to it. The very first time it is created, the reference count is set to 1. When the last reference to the object is nulled, the reference count is set to 0 and the object is deleted. The Care must be exercised to prevent a context switch from changing the reference count at the time of the deletion. In the methods that follow, the syntax is shortened to keep the scope of the discussion short and manageable.

Posted Date: 9/21/2012 7:25:35 AM | Location : United States







Related Discussions:- Reference counting in com, Assignment Help, Ask Question on Reference counting in com, Get Answer, Expert's Help, Reference counting in com Discussions

Write discussion on Reference counting in com
Your posts are moderated
Related Questions
What is Delegation? A delegate seems like a strongly type function pointer. Delegates can request the methods that they reference without making explicit calls to those methods

Project Description: We have a classic VC++ Dll (source code of DLL not available) that requires a .NET wrapper built by you. Use latest Visual Studio and.Net framework should b

Describe IUKNOWN interface All COM object supports atleast one interface, that is  IUnknown interface. All interfaces are the classes, derived from the base class IUnknown. Eve

Explain Interface? An interface is not a class. It is an entity that is explained by the word Interface. An interface has no implementation; it only has the signature or in oth

What are Daemon threads? Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector"

Problem: (a) (i) Using a diagram, illustrate the basic process in an ASP.NET Architecture involving at least five objects. (ii) List two methods and two collections

What is a DataReader object? The DataReader object helps in retrieving the data from a database in a forward-only, read-only mode. The base class for all the DataReader objects

What is difference between data set and data reader? Some major differences between dataset and datareader are as folows :- 1) The DataReader gives forward-only and read-onl

How can we get the state of the requested process? XMLHttpRequest get the current state of the request operation by using the readyState property. This property checks the cond

Finding the frequencies - C# Program: Please let me know how to find Frequencies in C#.