import c++ dll to windows phone project

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

the problem is....

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

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...

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++???

thanks for help me


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


3rd party WP7 apps may only comprise of managed code. C++ is also not a supported language, even in managed form, at this time.


WP7 doesn't support c++. you would also probably need to recompile the c++ dll anyways, even if it was supported.

链接地址: http://www.djcxy.com/p/44450.html

上一篇: 在.Net外部组件中使用C ++本机DLL会引发异常

下一篇: 将c ++ dll导入windows phone项目