Define Query Interface,Adref,Release?

Answer Posted / kondapallysantoshkumar

every COM object supports atleast one interfaceie IUNKNOWN
interface.each interface supports method acess data and
perform operations transperantely to the programmer,example
iunknown supports 3 methods addref(),release
(),queryinterface().if p is apointer to any iunknow.p-
>addref()increments the reference count
2)release().p->deleting the obkects when the reference
count reaches zero.,
3)queryinterface(idesired,pdesired).p->checks to see if the
current interface supports another interface

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we identify that the page is post back in asp net?

516


Explain difference between friend and protected friend?

532


Is session stored in browser?

532


What are the page life cycle events?

500


Explain cashing in asp.net.

528






What are the different session state management options available in asp.net?

523


Explain cookies with example.

562


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

529


Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?

553


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4252


What is viewstategenerator?

703


What are standard controls?

516


What is the difference between Hash table and Array list?

376


Explain what is clr?

630


What are app services?

534