Home > DeveloperSection > Interviews > What is Interop Services?

Posted on    November-09-2010 12:00 AM

 2 Answer(s)
  2263  View(s)
Rate this:

Rajesh Goswami

Total Post:85

Posted on    November-09-2010 1:00 AM

The common language runtime(CLR) 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.

Anurag Sharma
Anurag Sharma

Total Post:19

Posted on    November-10-2010 1:00 AM

The InteropServices namespace provides a wide variety of members that support COM interop and platform invoke services.

Don't want to miss updates? Please click the below button!

Follow MindStick