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

Can you explain autopostback?

0 Answers  


What is the extension of master page in asp.net?

0 Answers  


how can i insert array values and retreive in asp.net

3 Answers   TCS, Value Labs,


Tell me the code snippet to show how we can return 404 errors from HttpError?

0 Answers  


Difference between Response.Expires and Expires.Absolute ?

1 Answers   Accenture, BirlaSoft,






How does asp page work?

0 Answers  


What is variable and constant in .net programming language?

0 Answers  


How is my content secured from unauthorized access?

0 Answers  


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

0 Answers   MindCracker,


How can we read a columnised text data in ASP.Net C#? Columnised means my data is stored in a text file and I have numeric data or string data in this file. For ex. If I am searching for the data of gender and I know that gender data is stored at column 32 in text file. How can I get this data in ASP.Net page. Thanks for help in advance.

2 Answers  


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

3 Answers   Siebel Systems,


How to authenticate users using web.config ?

2 Answers   Accenture, Amazon, BirlaSoft, Cap Gemini,


Categories