本文介绍了LoadPackagedLibrary已损坏或至少非常违反和未记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用LoadPackagedLibrary从我的appx中加载一个dll ...

I've been trying to use LoadPackagedLibrary to load a dll from in my appx...

环顾四周似乎有一个共识,就是这个文档是非常不足以及没有使用的例子。

Looking around there seems to be a consensus that the documentation for this is woefully inadequate and that there are no examples of use.

我发现的关于这个问题的上一个线程的解决方法......

The workaround from the previous thread I found about the issue...

http: //social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/c5636e14-422f-4ab0-b608-2609ad8198e4/?prof=required

http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/c5636e14-422f-4ab0-b608-2609ad8198e4/?prof=required

...不工作。

有一个类似性质的C#问题,似乎被忽略了:

There is a C# oriented question of a similar nature which appears to have been ignored:

http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/8db1e07e-e41e-4293-93dd-1f1a9a8e5dab

http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/8db1e07e-e41e-4293-93dd-1f1a9a8e5dab

任何帮助将不胜感激。如果我们也可以修复文档问题会很好--MS文档和工具通常都很好,并且有很多指向这个函数作为答案,但在
页面本身不够实质使它提供的信息真正有用。

Any help would be greatly appreciated. It would be nice if we can fix the documentation issue too - MS documentation and tools are usually so good, and there is quite a lot pointing at this function as an answer, but then not quite enough substance in the page itself to make the information it provides genuinely helpful.

http://msdn.microsoft.com/en-gb/library/windows/desktop/hh447159(v = vs.85).aspx

http://msdn.microsoft.com/en-gb/library/windows/desktop/hh447159(v=vs.85).aspx

推荐答案


这篇关于LoadPackagedLibrary已损坏或至少非常违反和未记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 21:02