Chapter 32. COM, Native Extensions, and p-invoke


This chapter covers
  • COM automation
  • Native Extensions for Silverlight
  • P-invoke


Since the early versions, Silverlight has occupied an interesting space straddling both the web and desktop worlds. Silverlight 3 introduced out-of-browser mode. Silverlight 4 introduced elevated trust and COM automation support. Silverlight 5 capped it all off with support for p-invoke which is used to call native Win32 API-style functions. Pretty amazing for something that started off as a web technology!

In reality, most people developing new Silverlight applications are delivering desktop applications for Windows and use Silverlight for a number of reasons mentioned throughout this book. Those people have ...

Get Silverlight 5 in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.