silverlightpinvokexbapsilverlight-5.0full-trust

How does Siverlight 5 with P/Invoke compare to XBAP with FullTrust?


I'm considering XBAP with full trust, but just heard about SL5's ability to P/Invoke. This is quite exciting because XBAP deployments are very difficult considering it only really works with IE, works sometimes with Firefox, and never with chrome.

Does anyone have details on this feature, and its cross browser support (on an x86 machine of course)


Solution

  • There are some examples of using P/Invoke on Silverlight 5 RC here and here. Just today I posted on my blog regarding the possibility to access native DLL:s other than the regular system DLL:s.

    I normally run Chrome, and Silverlight P/Invoke works like a charm. I assume that IE should not be any problem either. Have to admit I have not tested Firefox or Opera, but maybe someone else has some experience with this?

    Regards,

    Anders @ Cureos