开发者

Silverlight and unsafe code

开发者 https://www.devze.com 2023-03-10 06:36 出处:网络
I know there is no direct way to have unsafe code in silverlight C# code but nothing really stops us from having unsafe code in a WCF service, and then referencing this service from Silverlight, yes?

I know there is no direct way to have unsafe code in silverlight C# code but nothing really stops us from having unsafe code in a WCF service, and then referencing this service from Silverlight, yes? Probably not the ideal thing to do but has anyone ever needed to do such a thing? I'm thinking I may need this but not sure of any other way to get around it, especially since 开发者_如何转开发the code I need to acces is writtenin C++.

THanks much


@David, if this is still an issue for you, Silverlight 5 looks promising with respect to unsafe code. Please have a look at this blog post on my attempts to enable unsafe code support in Silverlight 5 RC: http://cureos.blogspot.com/2011/09/unsafe-support-in-silverlight-5.html


As you said, there's nothing stopping you from using unsafe code on the server-side.

0

精彩评论

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