1.

Interop Services?

Answer»

The COMMON language runtime provides two mechanisms for interoperating with unmanaged CODE:

Platform invoke, which enables managed code to call functions exported from an unmanaged library.
COM interop, which enables managed code to INTERACT with COM objects through INTERFACES.

Both platform invoke and COM interop use interop marshaling to ACCURATELY move method arguments between caller and callee and back, if required.

The common language runtime provides two mechanisms for interoperating with unmanaged code:

Platform invoke, which enables managed code to call functions exported from an unmanaged library.
COM interop, which enables managed code to interact with COM objects through interfaces.

Both platform invoke and COM interop use interop marshaling to accurately move method arguments between caller and callee and back, if required.



Discussion

No Comment Found