Define Query Interface,Adref,Release?



Define Query Interface,Adref,Release? ..

Answer / 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

More ASP.NET Interview Questions

Why does my asp.net file have multiple tag with runat=server?

0 Answers  


How to send data through querystring to another page but it should not be displayed in URL

2 Answers   EMR, Powersoft19,


In which event of page cycle is the viewstate available?

0 Answers  


What Name space does the web page belon in the .net framework class hierarchy?

1 Answers   L&T, Wipro,


How do you pass session values from one page to another ?

4 Answers   Digital GlobalSoft,






How do u declare static variable and how it is declared and what is its lifetime?

0 Answers  


Elaborate differentiation between Cache and Application?

0 Answers   QuestPond,


What are the contents of cookie?

0 Answers  


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

0 Answers   TCS,


How to disable validator control by client side JavaScript?

0 Answers  


hi all; i need standard notes on .net(basics) for my seminar. im a starter in .net. plz suggest whr can i get satisfactory notes!!!

1 Answers  


Explain difference betn dataset and recordset?

0 Answers  


Categories