如何在不注册的情况下使用vlc.dll? [英] How to use vlc.dll without registration?

查看:34
本文介绍了如何在不注册的情况下使用vlc.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在表单中使用了 vlc.dll.安装后,如果我在此之外安装 vlc,我的应用程序将开始使用该文件夹中的 dll.那么,如何强制我的应用使用其自己文件夹中的 dll?

I have used the vlc.dll in my form. After installing this, if I install vlc outside this, my app starts using the dll from that folder. So, how can I force my app to use the dll from its own folder?

推荐答案

如果是本机 dll,Windows 首先搜索应用程序自己的文件夹.msdn 上的动态链接库搜索顺序.听起来这不会发生,所以..

If it's a native dll, Windows searches the application's own folder first. Dynamic-Link Library Search Order on msdn. It sounds like this is not happening, so ..

对于 ActiveX dll,您可以使用 免注册 COM 告诉您的应用程序使用本地版本而不是已注册的版本.

For an ActiveX dll, you can use Registration-Free COM to tell your application to use a local version instead of the registered one.

如果是托管 dll,Windows 首先搜索 GAC 搜索位置以加载引用的 DLL 的顺序是什么?,这听起来像您遇到的情况.

if it's a managed dll, Windows searches the GAC first In what order are locations searched to load referenced DLLs?, which sounds like what you're experiencing.

您可能需要重命名文件以使其看起来不同.

You may need to rename the file so it appears to be different.

您是否有充分的理由使用私人副本?这样做,您将无法从安全更新中受益.

Do you have a good reason for using a private copy? By doing that, you won't benefit from security updates.

这篇关于如何在不注册的情况下使用vlc.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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