Summary

This has been a quick tour of how to develop a COM component using the .NET Framework. This chapter covered how and why to develop a COM component by using the .NET Framework. It explored some of the options available to you, the developer, in building a COM component using the .NET Framework. It provided examples to illustrate that a COM component developed with the .NET Framework can be used virtually anywhere a “normal” COM component can be used. In conclusion, the following guidelines might be useful in developing COM components with .NET:

  • Design for interoperability—Particularly if you expect to use this component as a COM component, expose only those properties and methods that can easily be implemented via the marshaling layer ...

Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.