COM/DCOM Interview Question

1. What’s the difference between COM and DCOM?
2 What is a dual interface?
3. Can you have two dual interfaces in one class?
4. What is marshalling by value?
5. What is a multi-threaded apartment (MTA)? Single-threaded apartment (STA)?
6. 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?
7. What is ROT ? GIT ? Count pros and cons of both.
8. If you have an object with two interfaces, can you custom marshal one of them?
9. Is there a way to register in-proc server without regsvr32.exe?
10. What is VARIANT? Why and where would you use it?

No comments:

Post a Comment