- For calling COM APIs from managed code, use Type Library Importer (Tlbimp.exe) which takes a type library as input and outputs a .NET Framework assembly and associated managed metadata.
- For calling managed code from COM, use Type Library Exporter (Tlbexp.exe), which takes a managed assembly as input, and generates a type library containing COM definitions of all the public types defined in that assembly.
- For calling managed components from COM clients, use Assembly Registration Tool (Regasm.exe), which reads the metadata within a .NET Framework assembly, and adds the registry entries so that COM clients can create managed classes.
- For calling ActiveX controls, use Windows Forms ActiveX Control Importer (Aximp.exe), which takes an ActiveX control’s type library as input and generates a wrapper control that allows the control to be hosted in Windows Forms.
Friday, November 30, 2007
Tools for Interoperability between the.NET Framework and COM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment