简体   繁体   中英

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

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 :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM