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

What is the maximum amount of memory any single process on windows can address?

534


What is difference Between Authentication and authorization?

576


What is different authentication mechanisms used in ASP.NET?

589


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

586


Do you know about caching with the datasource controls?

486






What is preprocessor in .net? Where it use?

531


What is viewstate parameter?

523


What is voluum?

542


Which is the parent class of the ASP.NET server control?

543


What are the various session state management options provided by asp.net?

542


What is application session?

504


Explain the different types of assemblies?

529


What is authorization in asp.net?

575


How do you change the session time-out value?

583


How do you implement sql caching in asp.net?

566