Search code examples
c#silverlightsilverlight-4.0out-of-browser

Loading COM Object in silverlight 4


Can any one tell me how to load com object in a silverlight out of browser application . I use silverlight4 . If possible can any one give me sample codes of it. Thanks in advance


Solution

  • Yes. Use the System.Windows.Interop.ComAutomationFactory (new in Silverlight 4).

    See: http://msdn.microsoft.com/en-us/library/system.windows.interop.comautomationfactory(VS.96).aspx

    Don't be too shocked if you find it hard to get it to work on a mac :-)