How to P/Invoke to a native dll from Metro?

試著忘記壹切 提交于 2019-12-05 06:04:28

Add it to your project (right click project, Add, Existing Item.) Check that in the properties of that item, Content is set to True (it is false by default.) Build.

This is probably by design. Your problem might be caused by an error with error code 126 being returned from LoadLibrary. If your application runs in desktop mode you should target desktop mode for your application. You might use an earlier version of Windows as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!