开发者

Use C dll in windows phone 7

A simple but fundamental question :

Is it possible to use a dll dev开发者_如何学运维lopped in C, in my WP7 project ?

How can I do that ?

Thanks.


It's not possible unless your app is being bundled with the device manufacturer or network operator. I believe they get to use native code, but for everyone else it's Silverlight or XNA.


It is actually possible, as long as you can activate the COM Bridge and be able to register the DLL with the OS. This is not a well-documented capability and it will pretty much get the application rejected from the Marketplace (since it is not one of the officially supported features), but you can certainly do it "just for fun".

Here is what Chris Walshie has to say about it:

http://blog.walshie.me/2010/11/12/windows-phone-7-native-apps-the-missing-link

Yes, it will involve a lot more work, but it was already found that a lot of OEMs are bundling their applications with native DLLs, and that pattern can be successfully used in third-party applications as well (looking at what XDA guys do).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜