![](/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.