How to use vlc.dll without registration?

倾然丶 夕夏残阳落幕 提交于 2019-12-12 03:26:39

问题


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?


回答1:


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 ..

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

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.



来源:https://stackoverflow.com/questions/36280623/how-to-use-vlc-dll-without-registration

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