When you call CoInitialize(NULL) function how it works
internally.
Answers were Sorted based on User's Feedback
Answer / sandeep mishra
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 ? | 14 Yes | 1 No |
Answer / dipa
This function is used to initialize a component object
model.
Is This Answer Correct ? | 10 Yes | 3 No |
Answer / chandrasekharreddy siddamreddy
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 ? | 8 Yes | 2 No |
Answer / rathakrishnan
CoInitialize() is initializing the COM object libraries for
that particular thread.
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / ramesh pedhamalla
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 ? | 3 Yes | 0 No |
Answer / ramesh pedhamalla
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 |
Answer / sachinmundhra
Refer to below given link.
http://msdn.microsoft.com/en-us/library/ms809971.aspx
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / krishna sagar
CoInitial(NULL) will take your main thread into the
appartment.
Is This Answer Correct ? | 2 Yes | 6 No |
What is a moniker ?
Can I use com components from .net programs?
Differentiate normal DLL to COM DLL
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?
What happens when client calls CoCreateInstance?
How does a DCOM component know where to instantiate itself?
what is mean by scintific,commercial and business applications? How they differ? Please answer me. Advance thanks.
When you call CoInitialize(NULL) function how it works internally.
Is dcom dead?
Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY)
What is dcom?
Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?