Unable to load DLL on specific systems only

1

We have to deal with a problem on several computers, mainly with Windows 7 pro, but lately occurs with Windows 10 home too. Our software try to access video file to work with, file located on the computer, and throw an error :

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

This seems to occur when calling the function : Presentation.Windows.Controls.DirectShow.EvrPresenter.DllGetClassObject32(Guid, Guid, Object&)

However, EvrPresenter32.dll is present in the software directory where it is supposed to be, alike to computers where all works fine. This happens with any video format (.wmv, .mp4, .avi...) or video access path.

We've try to manually register the .dll in C:\Windows\sysWOW64\ with regsrv32.exe, but this give an error :

The module EvrPresenter32.dll failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found.

Drivers are up to date. System is up to date.

Could you please, give us some tips to investigate and solve this problem ?

c#
windows
dll
asked on Stack Overflow Nov 9, 2018 by KL2Tech

2 Answers

0

When ever we are moving the DLL's from one system to another system DLL will get blocked. So you are getting this issue.

How to Unblock DLL:

  1. Right click on the DLL

  2. Properties >> General

  3. At the bottom you will see unblock click on it.

enter image description here

See the link for details explanation

answered on Stack Overflow Nov 9, 2018 by Chandramouli • edited Nov 9, 2018 by Chandramouli
0

Hans Passant Nov 9 at 10:47

This is a wrapper for DirectShow, written in C++/CLI. It has a dependency on vcruntime140.dll, easy to overlook.

Next to Wai Ha Lee comment that helped us incriminate msvcr120.dll, we found this DLL is part of Microsoft Visual C++ 2013 Redistributable package. After installing it on the system, our software video usage works properly !

Remind to the link to download it from Microsoft : https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Added to prerequisites for our software...

Thanks a lot for your concern and help !

answered on Stack Overflow Nov 16, 2018 by KL2Tech

User contributions licensed under CC BY-SA 3.0