When you call CoInitialize(NULL) function how it works
internally.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define and explain about COM?

813


What is the difference between aggregated and contained objects?

745


Explain Futures of COM?

744


Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?

773


Can I use com components from .net programs?

800


Is dcom dead?

801


Can I use .net components from com programs?

775


how to call a dll as a COM dll?

908


What is the use of com component in .net?

769


Can you explain what is dcom?

696


Suppose 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?

689


How to create an instance of the object in COM?

752


How do we create dcom object in vb6?

881


What are queued components?

769


Does .net replace com?

729