![](/img/trans.png)
[英]UWP C# and Windows Runtime Component C++ Permission Denied error when opening file
[英]How to import C++ Legacy DLL in C# UWP application without Windows Runtime Component
We have a requirement to import a C++ legacy dll inside C# UWP application and access the methods inside the c++ classes. 我们没有源代码,因此无法使用 Windows 运行时组件。
请让我知道如何在 Visual C# 通用 Z0F4137ED1502B5055D6083AA2ZB 应用程序中导入 c++ dll。
我可以在视觉 C++ 应用程序中添加 dll 作为参考,但无法在视觉 C# ZD0836D7D5DBADA3AF4 应用程序中做到这一点。 我已经尝试了 dllimport,但它抛出了 dll not found 异常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.