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

in which protocol ASP.NET WEB API Work?

619


What do you mean by authentication?

533


Why is string called immutable data type?

598


What is true about application service provider?

499


Define authentication and authorization.

623






What are the different types of Caching techniques in ASP.NET?

586


Difference between Response.redirect vs server.transfer?

591


About CLR, reflection and assemblies?

1549


What is break mode?

519


Can you change a master page dynamically at runtime? How?

515


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

599


How do you remove duplicates without using remove duplicate stage?

623


What is the question mark in a url?

528


How is session id generated?

459


How can we register exception filter from the action?

670