ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  VC++  >>  COM DCOM
 
 


 

 
 MFC interview questions  MFC Interview Questions
 ATL interview questions  ATL Interview Questions
 COM DCOM interview questions  COM DCOM Interview Questions
 Win32API interview questions  Win32API Interview Questions
 ActiveX interview questions  ActiveX Interview Questions
 VC++ AllOther interview questions  VC++ AllOther Interview Questions
Question
how do you know it is general dll or com dll
 Question Submitted By :: Ashis Nishanka
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how do you know it is general dll or com dll
Answer
# 1
COM Dll contails IUnknown interface but general DLL doesn't.
 
Is This Answer Correct ?    1 Yes 1 No
Bijender Singh
 
  Re: how do you know it is general dll or com dll
Answer
# 2
Open the dll in dependency walker application 
(depends.exe). If the dll is having following functions
DLLRegisterServer
DLLUnRegisterServer
DLLCanUnloadNow
DLLGetClassObject

It is a COM DLL otherwise it is not.
 
Is This Answer Correct ?    1 Yes 0 No
Chandrasekharreddy Siddamreddy
 
 
 
  Re: how do you know it is general dll or com dll
Answer
# 3
second answer is correct, checking dll not means, checking
in source code.So IUnKnowns pointer checking no
possible.Simply check using dependancy walker as in 2
 
Is This Answer Correct ?    1 Yes 0 No
Techy Break
 
  Re: how do you know it is general dll or com dll
Answer
# 4
COM DLLs export above listed 4 functions and it's mandatory 
for any DLL to be qualified as a COM DLL.
Where in regular DLLs we get a list of exported functions 
which from client application we will invoke.
 
Is This Answer Correct ?    0 Yes 0 No
Sandeep Mishra
 

 
 
 
Other COM DCOM Interview Questions
 
  Question Asked @ Answers
 
How do you make a NET component talk to a COM component? TCS1
How can would you create an instance of the object in COM  2
C is aggregated by B, which in turn aggregated by A. Our client requested C. What will happen?  1
Explain queued components.  1
Which tool is used to configure the port range and protocols for DCOM communications?  1
how do you know it is general dll or com dll  4
What should QueryInterface functions do if requested object was not found?  1
What is IUnknown? What methods are provided by IUnknown? IBM2
Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY) Wipro1
How to Use structs in COM interfaces when Automation compatibility is not an issue?  1
Explain transaction atomicity?  1
What is In-proc?  4
What kind of components can be used as DCOM servers?  1
What is the difference, if any, between OLE and COM?  3
how you call a dll as a COM dll.  2
What are the different compatibility types when we create a COM component? TCS1
What are the purposes of AddRef, Release and QueryInterface functions  2
How does a DCOM component know where to instantiate itself?  1
Let?s assume we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C? What?s the difference between aggregated and contained objects?  2
Explain JIT activation?  1
 
For more COM DCOM Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com