如何在Windows Phone 8运行时组件中编译C语言 [英] How to compile C language in Windows Phone 8 runtime component

查看:75
本文介绍了如何在Windows Phone 8运行时组件中编译C语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我遇到了问题!我在C语言中使用libresample,但我想在Windows Phone 8项目中使用它。它仅使用Windows Phone运行时组件。但是当我将文件C格式添加到Windows Phone RT项目时,它不起作用,我将编译选项更改为Native
C但是它不起作用。 


请帮助我,  如何在Windows Phone运行时组件中编译C语言??????




Microsoft学生合作伙伴

解决方案

您好Pham,


您需要将代码封装在运行时组件中,以便从.NET Windows Phone应用程序中调用它。 / p>

研究以获取更多信息:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714080(v=vs.105).aspx



Hi all, 

I have a problem ! I use libresample in C language, but i want to use it in Windows Phone 8 project. It's only use Windows Phone runtime component. But when i add file C format to Windows Phone RT project, it's not work, i change compile option to Native C but it's not work. 

Please help me, How to compile C language in Windows Phone runtime component ??????


Microsoft Student Partner

解决方案

Hi Pham,

You will need to encapsulate your code in a Runtime component to call it from a .NET Windows Phone app.

Study this for more information: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714080(v=vs.105).aspx


这篇关于如何在Windows Phone 8运行时组件中编译C语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆