| 1. |
Can I Use Com Components From .net Programs? |
|
Answer» Yes. COM components are accessed from the .NET runtime via a Runtime Callable Wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET-compatible interfaces. For oleautomation interfaces, the RCW can be GENERATED automatically from a type library. For non-oleautomation interfaces, it MAY be necessary to DEVELOP a custom RCW which manually maps the types exposed by the COM INTERFACE to .NET-compatible types. Yes. COM components are accessed from the .NET runtime via a Runtime Callable Wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET-compatible interfaces. For oleautomation interfaces, the RCW can be generated automatically from a type library. For non-oleautomation interfaces, it may be necessary to develop a custom RCW which manually maps the types exposed by the COM interface to .NET-compatible types. |
|