When you call CoInitialize(NULL) function how it works
internally.
Answer Posted / 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 |
Post New Answer View All Answers
Is dcom dead?
What are queued components?
What is the use of com component in .net?
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?
What is reference counting in com?
Define and explain about COM?
Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?
Once I have developed the com wrapper do I have to still register the com in registry?
Which namespace do the classes, allowing you to support COM functionality, are located?
Can you explain what is dcom?
Does .net replace com?
Explain Futures of COM?
How to create an instance of the object in COM?
What is dcom?
Can I use .net components from com programs?