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   To Refer this Site to Your Friends   Click Here
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
When you call CoInitialize(NULL) function how it works 
internally.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: When you call CoInitialize(NULL) function how it works internally.
Answer
# 1
This function is used to initialize a component object 
model.
 
Is This Answer Correct ?    1 Yes 0 No
Dipa
 
  Re: When you call CoInitialize(NULL) function how it works internally.
Answer
# 2
CoInitialize() is initializing the COM object libraries for
that particular thread.
 
Is This Answer Correct ?    1 Yes 0 No
Rathakrishnan
 
 
 
  Re: When you call CoInitialize(NULL) function how it works internally.
Answer
# 3
CoInitialize(NULL) function internally assigns a ID to the 
calling thread i.e., Appartment ID. Without this ID SCM 
doesn't allow you to access the COM Component.
 
Is This Answer Correct ?    1 Yes 0 No
Chandrasekharreddy Siddamreddy
 
  Re: When you call CoInitialize(NULL) function how it works internally.
Answer
# 4
CoInitial(NULL) will take your main thread into the 
appartment.
 
Is This Answer Correct ?    0 Yes 1 No
Krishna Sagar
 
  Re: When you call CoInitialize(NULL) function how it works internally.
Answer
# 5
CoInitialize will initialize the COM library and will move 
the executing thread to a STA or Single Threaded Apartment
Apartment is the logical entity where threads live.
 
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
Define and explain COM? Microsoft6
What is IUnknown? What methods are provided by IUnknown? IBM2
What happens when client calls CoCreateInstance?  2
How to Use structs in COM interfaces when Automation compatibility is not an issue?  1
Explain queued components.  1
What should QueryInterface functions do if requested object was not found?  1
C is aggregated by B, which in turn aggregated by A. Our client requested C. What will happen?  1
Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY) Wipro1
Which tool is used to configure the port range and protocols for DCOM communications?  1
What is a moniker ?  2
Differentiate normal DLL to COM DLL  3
Explain object pooling? HCL1
Explain transaction atomicity?  1
Futures of COM MIT2
What is In-proc?  4
Explain JIT activation?  1
What are the purposes of AddRef, Release and QueryInterface functions  2
what is oops  2
When you call CoInitialize(NULL) function how it works internally.  5
 
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