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

Answers were Sorted based on User's Feedback



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

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

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

Answer / dipa

This function is used to initialize a component object
model.

Is This Answer Correct ?    10 Yes 3 No

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

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

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

Answer / rathakrishnan

CoInitialize() is initializing the COM object libraries for
that particular thread.

Is This Answer Correct ?    5 Yes 2 No

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

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

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

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

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

Answer / sachinmundhra

Refer to below given link.

http://msdn.microsoft.com/en-us/library/ms809971.aspx

Is This Answer Correct ?    0 Yes 1 No

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

Answer / krishna sagar

CoInitial(NULL) will take your main thread into the
appartment.

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More COM DCOM Interview Questions

how do you know it is general dll or com dll

5 Answers  


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?

0 Answers  


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

0 Answers  


Can you explain what is dcom?

0 Answers  


Which namespace do the classes, allowing you to support COM functionality, are located?

0 Answers  






what is mean by scintific,commercial and business applications? How they differ? Please answer me. Advance thanks.

0 Answers   Excel,


hi,I have applied for NIC test plz if any one have test paper pattrn plz send me on "mn_mayank38@yahoo.co.in"

1 Answers  


what is far pointer and what are the use of far poiter in com/dcom ?????

2 Answers   HCL,


How do we create dcom object in vb6?

0 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers  


Explain JIT activation?

1 Answers  


What are the different compatibility types when we create a COM component?

1 Answers   TCS,


Categories