How to use COM Component in .NET
Posted on April 22nd , 2009 by Admin
|
|
RCW helps .Net to communicate with COM there are number of ways from which we can communicate with COM.
(1)Adding reference using VS.NET 2005 and this is add BIN folder
(2)By using Type library import tool. Tlbimp.exe assemblyname.dll
(3)By Using namespace interopservices.System.runtime.Interopservices which contains class TypeLib Converter from which we get methods which convert COM classes and interface in to assembly metadata.
(4)Confirm about custo |
| m wrappe rs.If our COM component does not contain type library then only way is to communicate. That means communicating directly with COM components. |
|
|