What is RCW
How can we use COM Components in .NET?
.NET components communicate with COM using RCW (Runtime Callable Wrapper). Following
are the ways with which you can generate RCW :-
Ā„ Adding reference in Visual Studio.net. See figure below (Adding reference using VS.NET 2005). Wrapper class is generated and placed in the ĀgBINĀh directory.
Ā„ Using Type library import tool. Tlbimp.exe yourname.dll.
Ā„ Using interopservices.System.runtime.Interopservices namespace contains class TypeLib Converter which provides methods to convert COM classes and interface in to assembly metadata.
Ā„ Make your custom wrappe rs.If your COM component does not have type library then the only way to communicate is writing custom wrappers. That means communicating directly with COM components.
2007-10-22, 4526👍, 0💬
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...
When does the compiler not implicitly generate the address of the first element of an array? Wheneve...
Can Sub Procedure/Function Be Called Recursively? - Oracle DBA FAQ - Creating Your Own PL/SQL Proced...
Can you please post OpenLink Endur related FAQ's,tutorials,document s.Thanks
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...