如何在Windows Phone 8运行时组件中编译C语言 [英] How to compile C language in Windows Phone 8 runtime component
问题描述
大家好,
我遇到了问题!我在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屋!