[UWP]通过LoadLibrary fn加载win32 .dll [英] [UWP] Loading win32 .dll by LoadLibrary fn

查看:190
本文介绍了[UWP]通过LoadLibrary fn加载win32 .dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想知道如何在UWP项目中重新启用LoadLibrary fn来加载win32 .dll。

I would like to know how can I re-enable to use LoadLibrary fn in UWP project to load a win32 .dll.

我曾尝试在UWP中使用LoadPackagedLibrary fn,但没有运气。我无法成功加载win32 .dll并使用它们的相关功能;它会向我返回一个空指针值。

I have tried to use LoadPackagedLibrary fn in UWP, but no luck. I can't succesfully load the win32 .dll and use their associated function; it returns a null pointer value to me.

有关如何在UWP上导入/使用win32 .dll的任何建议吗?

Any advise on how to import/use win32 .dll on UWP?

谢谢。

Jacky

推荐答案

Jacky Lam,

Hi Jacky Lam,

有你看到了这个文件  如何:在通用Windows平台应用程序中使用现有的C ++代码? 你可以
参考部分  在通用Windows
平台应用程序中使用Win32 DLL
 并检查您是否错过了某些程序。

Have you seen the document How to: Use Existing C++ Code in a Universal Windows Platform App? You can refer the part Using a Win32 DLL in a Universal Windows Platform App and check whether you have missed some procedures.

祝你好运,

Breeze


这篇关于[UWP]通过LoadLibrary fn加载win32 .dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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