April 2002
Intermediate to advanced
1024 pages
23h 26m
English
This chapter explored the various ways that are available through the .NET Framework to continue to use COM components that have already been built, tested, and relied on for many years. The .NET Framework can interop with COM components and still maintain the programming model that makes it such a great platform on which to develop. COM interop is key to the .NET Framework. It is possible to interop with COM components using a late binding approach, as would be required with scripting types of applications. COM interop is integrated nicely with Visual Studio, but tools are available to perform the same functions, such as tlbimp and aximp. You learned that the APIs exist, so you can write your own tlbimp by using the TypeLibConverter ...