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

what are the levels of securities need to be considered for the finincial web application?

1 Answers  


What is session authentication?

0 Answers  


About friend and Protected friend ?

3 Answers   MMTS,


What is a server farm in iis?

0 Answers  


What are the elements of a website?

0 Answers  






Explain how do you validate the controls in an asp .net page?

0 Answers  


Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()

4 Answers   Techno Solutions,


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


What Are The Difference Between AutoEventWireup="true" and AutoEventWireup="False"

12 Answers   Phoenix Technologies,


Can we use multiple forms in single asp.net application?

3 Answers   Polaris,


Page Life Cycle in ASP.NET

2 Answers   Syntel,


Can you create an app domain ?

1 Answers  


Categories