There s Another Company that ships the product that consumes IAnotherCompanyInterface. We want to ship a COM object that implements IAnotherCompanyInterface. That interface is not Automation-compatible, so the next easiest option to enable marshalling is using a proxy/stub. Another Company doesn t ship the proxy/stub and doesn t want to.
Compiling and registering the proxy/stub is not a problem by itself but consider the following situation. There s our company shipping a COM object implementing IAnotherCompanyInterface and the ThirdPartyCompany that does the same. So both components might end up being deployed on the same machine.
Proxy/stub registration is system-wide for an interface. How should their proxy/stub implementations co-reside?