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

If(dropdownlist1.selectedIndexChanged==true) { //code } else { //code } I am getting error in If condition, so can u pls give me a solution.

4 Answers  


Explain Areas in MVC?

0 Answers   B-Ways TecnoSoft,


What is an axd file?

0 Answers  


What are Master pages? How to define a Master page?

3 Answers  


Whats an assembly?

6 Answers   Siebel Systems,






Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

0 Answers  


What type of code (server or client) is found in a Code- Behind class?

2 Answers  


What is http pipeline in asp.net?

0 Answers  


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

0 Answers   AlKhaleej, Swatz Oils,


What is the difference between a default skin and a named skin?

0 Answers   MindCracker,


What are the layouts of ASP.NET Pages?

0 Answers  


What is the difference between and ActiveX dll and control ?

1 Answers   Microsoft,


Categories