无法在Windows应用商店中加载DLL [英] Unable to load dll in windows store application

查看:121
本文介绍了无法在Windows应用商店中加载DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在我的windows商店应用程序的bin / debug文件夹中放了一个dll。并且我写了以下代码来加载我的dll




i have placed a dll in my bin/debug folder in my windows store application. and i have written following code to load my dll

[DllImport(@"DemoAPIWrapper.dll", CharSet = CharSet.Unicode)]
        private extern static bool SetInputMgrConfig();





但我得到的错误就像



System.DllNotFoundException:无法加载DLL' 'DemoAPIWrapper.dll'':找不到指定的模块。 (HRESULT的例外情况:0x8007007E)



你可以帮我解决一下如何加载那个dll



but i got error like

System.DllNotFoundException: Unable to load DLL ''DemoAPIWrapper.dll'': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

can you please help me how to load that dll

推荐答案

阅读此博客



http://stackoverflow.com/questions/11357126/how-to-load-a-dll-in-c-sharp [ ^ ]



提供给已请求帮助的会员的解决方案



希望这有帮助,如果是,则接受并投票此解决方案,否则将回复您的查询

--RDB
Read this blog

http://stackoverflow.com/questions/11357126/how-to-load-a-dll-in-c-sharp[^]

Solution provided to this member who had requested for help

Hope this helps if yes then accept and vote this solutions otherwise revert back with your queries
--RDB


这篇关于无法在Windows应用商店中加载DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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