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

Describe session handling in a webfarm, how does it work and what are the limits?

796


What are different methods of session maintenance in asp.net?

758


What is postback request?

720


Explain the difference between AutoPostBack and IspostBack in ASP.NET?

798


Explain server side state management system.

731


What are the types of caching in asp.net?

758


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

2567


Is asp.net and .net the same?

694


Define the term Web Garden?

711


How can we prepairing Interview

2082


How do I create a web form?

708


What does clearing cache?

702


Explain the difference between overriding and overloading?

722


Explain about consistent programming model in the .NET framework?

792


What are strong names?

779