进口C ++ DLL到Windows Phone项目 [英] import c++ dll to windows phone project

查看:168
本文介绍了进口C ++ DLL到Windows Phone项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Phone的研究与开发新的和我有一个问题,我不知道如何解决......

I'm new on windows phone developement and i have one problem that i don't know how to resolve....

问题是...

我有一个C,我已经用Visual C ++ 2010 complided这创建一个DLL的代码编译的...

i have a c++ project that i had complided with visual c++ 2010 and this create one dll with code compiled...

所以我知道C#进口DLL库,但是当我添加refrences它使这个错误无法检索到组装全名,参数名:AssemblyPath,我不kown这意味着什么...

so i know that C# import dll libraries but when i add refrences it's make this error "Unable to retrieve assembly fullname ""Parameter name: AssemblyPath" and i dont kown what it means...

我搜索谷歌和我发现一个方法导入C ++ DLL manualy用的DllImport和调用外部方法......这是使一种错误,因为它是不发现该DLL的位置......这偏偏因为WP7做不能支持C ++ ???

I searched on google and i found one method to import c++ dll manualy with DllImport and calling a external method... that causes one error because it's dont find the dll location... it's happens because wp7 don't suport C++???

感谢帮助我

推荐答案

既不的p / Invoke也不C ++ / CLI支持,只有管理用户代码。请参见 social.msdn

Neither P/Invoke nor C++/CLI is supported, only managed user code. See social.msdn.

这篇关于进口C ++ DLL到Windows Phone项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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