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

How do you construct HtmlResponseMessage?

1 Answers  


How do you create a master page?

0 Answers  


What’s the difference between response .redirect and server.transfer?

0 Answers  


What is http post and http get?

0 Answers  


What is the flow of processing of the request? : asp.net mvc

0 Answers  






Why is validation always done on the server? When does that occur?

2 Answers  


Can we mention error in web.config file?

2 Answers  


What is preprocessor in .net and type, where it use?

0 Answers  


Can you explain what inheritance is and an example of when you might use it?

1 Answers   Sports Interactive,


What is asp.net ajax?

0 Answers  


Differentiate between a hyperlink control and a linkbutton control.

0 Answers  


Can we override the enablepartialrendering property of the scriptmanager class?

0 Answers  


Categories