开发者

Can we Add Refernce of C/C++ dll in Silverlight Application

Can we Add Reference of C/C++ dll i开发者_如何学运维n Silverlight Application. I am using Silverlight 4.

Thanks.


Answered by Jeffrey Hantin:

An application needs full trust in order to make use of unsafe code. Even a trusted Silverlight application does not run with full trust, but a somewhat more relaxed set of permissions called "elevated trust". I think you'll have to use WPF.

See the MSDN page on pure and verifiable code for more details. To be usable with less than full trust, an assembly has to be verifiable, and this poses significant restrictions on what that code can contain.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜