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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
Differentiate normal DLL to COM DLL
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Differentiate normal DLL to COM DLL
Answer
# 1
A normal DLL can export any function. 
 A COM DLL is the one which exports COM APIs like
            * DllGetClassObject.
            * DllRegisterServer.
            * DllUnregisterServer.
            * DllCanUnloadNow.
 
Is This Answer Correct ?    1 Yes 0 No
Pranesh Archak
 
  Re: Differentiate normal DLL to COM DLL
Answer
# 2
COM Dll exposes Interface on the contrary to normal DLL 
that exports functions. Clients create the pointer to 
COMDLL's interface to call the methods defined by the 
component that implements the interface. 
That results in isolation of implementation and definition 
of method in the interface. Client doesnt need to relink or 
recompile the code if method in the com dll changes as far 
as the definition of the interface remains same.
 
Is This Answer Correct ?    2 Yes 0 No
Riddhi
 
 
 
  Re: Differentiate normal DLL to COM DLL
Answer
# 3
Classic DLLs are function libraries while ActiveX(COM)
DLLs are objects. The difference is like the difference
between procedural and object oriented programming.
     API style Declare statements are needed for routines in
a 'normal' DLL and and an ActiveX(COM) DLL is treated like a
class object.
 
Is This Answer Correct ?    0 Yes 0 No
Saravanan K
 

 
 
 
Other COM DCOM Interview Questions
 
  Question Asked @ Answers
 
What kind of components can be used as DCOM servers?  1
What are the different compatibility types when we create a COM component? TCS1
What is the difference, if any, between OLE and COM?  3
How can would you create an instance of the object in COM  2
Which tool is used to configure the port range and protocols for DCOM communications?  1
When you call CoInitialize(NULL) function how it works internally.  5
What are the purposes of AddRef, Release and QueryInterface functions  2
Do COM keep track of all the object references(Accounting)? Microsoft3
How does a DCOM component know where to instantiate itself?  1
Explain JIT activation?  1
how you call a dll as a COM dll.  2
Explain object pooling? HCL1
What happens when client calls CoCreateInstance?  2
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
what is oops  2
How do you make a NET component talk to a COM component? TCS1
Explain queued components.  1
Explain transaction atomicity?  1
What is a moniker ?  2
Futures of COM MIT2
 
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