Log in

View Full Version : plugins won't load


stephen22
26th October 2015, 21:11
I've used VideoFred'S 8mm package in the past and had very good results. Having come back after a few months I suddenly can't get the scripts to work. There seems to be a problem loading plugins. Of all these...

LoadPlugin("plugins\Deflicker.dll")
Loadplugin("plugins\Depan.dll")
LoadPlugin("plugins\DepanEstimate.dll")
Loadplugin("plugins\removegrain.dll")
LoadPlugin("plugins\removedirt.dll")
LoadPlugin("plugins\MVTools.dll")
LoadPlugin("plugins\MVTools2.dll")
Loadplugin("plugins\warpsharp.dll")
loadplugin("plugins\autolevels_06.dll")
LoadPlugin("plugins\Motion_06Dec05B.dll")
Import("plugins/03_RemoveDirtMC.avs")

...all load except removegrain, removedirt and warpsharp - for these 3 I get a VD error "unable to load - module not found." (also the others if I corrupt their names - so they are in the right place.)

Only happens on one PC - the laptop works fine.

?a problem of missing dlls or registries? I sem to have loads of copies of MSVCR80.DLL and Microsoft Visual c++ 2013. Way out of my depth. Grateful for any suggestions.

StainlessS
26th October 2015, 23:13
You are missing a CPP runtime library (EDIT: One or more).
Get Groucho2004 Info Tool here http://forum.doom9.org/showthread.php?t=170647
or Dependency Walker. http://www.dependencywalker.com/

EDIT: They will tell what you are missing.
The latest cpp runtimes do not 'cover' all earlier ones, ie you need the particular runtime version
for any programs that use them. (Tell MS what you think about that, I'm guess'in they've already been told).

thescrapyard
27th October 2015, 11:20
Dependency Walker is very very good at finding files plugins need and assume you already have installed, just make sure you run the correct version

If you have a 64bit system, you MUST run the 64bit release not just the 32bit, it will fail with an error. I found this out the first time I tried it wondering why as "32bit software should run on 64bit systems regardless". Its 32bit/64bit specific in this case


It helped me find missing DLL avisynth plugins were looking for that were not in my system folder, which the plugins needed to run and I couldn't work out why specific plugins kept failing when everything was installed and avisynth was working perfectly previously

Took me 5 minutes to sort it out with Dependency Walker

And its FREE .....

https://en.wikipedia.org/wiki/Dependency_Walker

Even Microsoft suggest it as a tool for troubleshooting and offer help in tracking down issues

https://support.microsoft.com/en-us/kb/256872

http://download.microsoft.com/download/visualfoxpro7/utility/2.1/w9x2kmexp/en-us/dependsia64version2.1.3623.exe

http://download.microsoft.com/download/visualfoxpro7/utility/2.1.3623/w9x2kmexp/en-us/dependsx86version2.1.3623.exe


Links checked just now as working from Microsoft, as main Dependency Walker site appears to be down. Its ancient software but still very handy to keep on your system

StainlessS
27th October 2015, 16:47
Use the Dependency Walker link 2 posts ahead, link was working last night when posted and still working fine just now tested.
Parent site has always most recent version(v2.2), MS site has v2.1. DW is usually supplied with Visual Studio (full versions).
Repeated again here:- http://www.dependencywalker.com/

stephen22
27th October 2015, 21:09
Thanks guys you've been really helpful.

Dependencywalker 32-bit version found 2 dlls missing for removegrain and removedirt. Found missing dlls on the internet and put them in same plugins folder as removegrain and removedirt. Dependencywalker now happy and gives no errors.

But removegrain and removedirt still won't load. (should these new dlls be put somewhere in the windows system?)

(Wasn't sure what you meant when you said I must run both versions - Dependencywalker 64-bit version gives cpu type error - identical names but x64 instead of x86)

Warpsharp apparently has 9 missing dependent files.

My control panel says C++ redistributable 2010 is still running, as well as 2013. My laptop (on which these plugins load without any problem) also has 2013 but not 2010.

Does any of this make sense?

Groucho2004
27th October 2015, 21:20
Thanks guys you've been really helpful.

Dependencywalker 32-bit version found 2 dlls missing for removegrain and removedirt. Found missing dlls on the internet and put them in same plugins folder as removegrain and removedirt. Dependencywalker now happy and gives no errors.

But removegrain and removedirt still won't load. (should these new dlls be put somewhere in the windows system?)

(Wasn't sure what you meant when you said I must run both versions - Dependencywalker 64-bit version gives cpu type error - identical names but x64 instead of x86)

Warpsharp apparently has 9 missing dependent files.

My control panel says C++ redistributable 2010 is still running, as well as 2013. My laptop (on which these plugins load without any problem) also has 2013 but not 2010.

Does any of this make sense?
First I would suggest that you replace some plugins with newer/better/faster versions (http://forum.doom9.org/showthread.php?p=1733741#post1733741).
If you still have problems, use the AVS Info Tool as suggested by Stainless.

Also, if any MS runtimes are missing, I highly recommend the all-in-one runtime installer which can be found here (http://www.wincert.net/forum/topic/9790-aio-microsoft-visual-bcfj-redistributable-x86x64/).

stephen22
28th October 2015, 19:35
Thanks very much - the all-in-one installer seems to have done the trick.

StainlessS
28th October 2015, 20:49
Also, dont forget to remove the other dll's from plugins folder.

stephen22
30th October 2015, 13:19
good thinking!

Mounir
3rd January 2021, 11:24
I got a major problem with the msvcr71.dll / msvcp71.dll I have installed them in system32 and syswow64 but it's not working i still have error with the repair.dll

access violation at 0x0002E64 in c windows SysWow64 ntdll.dll


If someone can assist me, thanks

kedautinh12
3rd January 2021, 13:04
Romoved ntdll.dll in syswow64

StainlessS
3rd January 2021, 13:25
Remove both lots [EDIT: msvcr71.dll / msvcp71.dll] from system32 and SysWOW64.
Get the recent (26 days ago) update to abbodi1406's VisualCppRedist_AIO_x86_x64_40.zip All-In-One Installer
https://github.com/abbodi1406/vcredist/releases

I thought that the old Visual Studio 2003 dot net dlls were included but was not sure, so I extracted to see if was there and they are.
[so are VS 2002 runtimes, msvcr70.dll / msvcp70.dll]
https://i.postimg.cc/WzqQDZ31/Untitled-00.jpg (https://postimages.org/)

Dont you extract them, run the installer and update everything.
VS 2019 CPP runtime was recently updated in the AIO package.

EDIT:
Romoved ntdll.dll in syswow64
I have an ntdll.dll in my SysWOW64.

EDIT: I dont think that there are any x64 VS 2003 dot Net dlls [ie msvcr71.dll / msvcp71.dll] so they should not have gone in system32.

kedautinh12
3rd January 2021, 17:12
I have an ntdll.dll in my SysWOW64.

I know but you use right ver of ntdll.dll is x86 and he use wrong ver of ntdll.dll is x64. I think he copy wrong ver of .dll cause .dll for x86 must copy to syswow64 folder and .dll for x64 must copy to system32 folder

StainlessS
3rd January 2021, 19:52
I dont know why you think SysWOW64 ntdll.dll is wrong version, he dont mention touchng that.
Suggest he updates with the AIO linked, and retry, see what happens report back.
[you may well be correct, but maybe best retry before delete].

EDIT: Also, maybe he should try ANY x86 program, eg VLC/MPC-HC/VDub2 or whatever,
pretty much any x86 program should use ntdll.dll and crash if probs with it..

EDIT: Maybe worth a try too.
https://answers.microsoft.com/en-us/windows/forum/all/app-crash-with-ntdlldll/9aa59f80-99a1-4f3c-b2f0-7eb72df05b2a
Thanks for your quick response.

Have you tried running the system file checker and performing a clean boot? We truly recommend it.

On the other hand, you can try other options below if it did not work:

Method 1: Update Windows

Click Start button, and look for Control Panel.
Click System and Security, and select Windows Update.
Click Check for updates and click Install updates.

If you are experiencing the same after performing Windows Update try reinstalling the DLL.

Method 2: Reinstall the DLL

Type cmd in the search box, and then right click Command prompt select Run as Administrator.
Type this in command prompt:
regsvr32.exe /u ntdll.dll and press Enter key (this will uninstall the file)
regsvr32.exe ntdll.dll and press Enter key (this will reinstall the file).

Let us know how it goes.

EDIT: DAMN, theres a regsvr32.exe in both system32 and SysWOW64 on my machine.
Maybe try first above first , and if crash again, then something like

C:\Windows\SysWOW64\regsvr32.exe /u ntdll.dll and press Enter key (this will uninstall the file)
C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\ntdll.dll and press Enter key (this will reinstall the file).

and

C:\Windows\system32\regsvr32.exe /u ntdll.dll and press Enter key (this will uninstall the file)
C:\Windows\system32\regsvr32.exe C:\Windows\system32\ntdll.dll and press Enter key (this will reinstall the file).


@Mournir, give a more full report, incl version of Avisynth and if x86 or x64, and have you changed ntdll.dll at all ?

Mounir
3rd January 2021, 20:25
For the record, Vlc, Mpc Hc work just fine (always did)
I did run the installer (VisualCppRedist_AIO_x86_x64_40 ), at times there were errors like "already installed" and things like that but i went through the end of the installation.

I still got the error showing up . I tried to delete the ntdll.dll in SysWo64 but it seems i need special autorization from "Trustedinstaller" which i haven't, so i'm stuck.
That's where i'm at


I'm on Win7 x64

kedautinh12
4th January 2021, 00:09
After you deleted ntdll.dll, you need search file ntdll.dll version for x86 and paste to syswow64

Mounir
4th January 2021, 00:47
After you deleted ntdll.dll, you need search file ntdll.dll version for x86 and paste to syswow64

Okay but i still need the authorization of "trusted installer" whatever that means, i can't move it, delete or anything otherwise.

Oh i see the folder options, i'm trying to modify them but access denied/error each time, yet i'm the admin on this system , strange...

StainlessS
4th January 2021, 03:22
For the record, Vlc, Mpc Hc work just fine (always did)

Then I guess it to be nothing wrong with ntdll.dll. [EDIT: I trust you checked x86 versions vlc/mpc]

Dll's/Executables calling ntdll.dll can cause Access Violation in ntdll.dll, so problem could be (and probably is) elsewhere.


My x86 version Ntdll.dll in SysWOW64 [yours may be diff lang etc]

Win 7 Pro x64, build 7601 [OEM - Dell]

ntdll.dll [x86 version in SysWOW64]
Size: 1,320,248 bytes
File Version: 6.1.7601.24545
Language: English (United States)

File: ntdll.dll
CRC-32: 3f398d91
MD4: 9ba33d442eb4f614edcf36e9bb1be2f5
MD5: 5b821f8eb54499e166595240149d4201
SHA-1: 2d890b7e0b75835c36a803c91f0a7844094cec2d


Trusted Installer, is eg Operating system Setup (from CD/DVD) [and Probably ServicePack or Windows Update].
Administrators do not have trusted installer status, only Read & Execute, and Read, permissions [on very important file ntdll.dll].
Ntdll.dll is at core of OS, is likely OS would not boot if deleted. [thats why I suggest not to even try]

Take MD5 of your dll and google it to check it. [EDIT: If you cant find MD5 or SHA-1 then is corrupt, reinstall OS would be my choice]

HashMyFiles:- https://www.nirsoft.net/utils/hash_my_files.html

EDIT: You have never yet hinted at what you were trying with Repair.dll, whatever it was it could be
cause of probs [ie unusual args, and bug in repair.dll causing access violation in ntdll.dll, this is most likely cause].
Post script so others can maybe reproduce bug.

Mounir
20th January 2021, 20:01
I'm back with a problem (once again) avisynth won't work [error 126]. i put the .dll on syswow64. My guess is it's not registered somehow, where can i get the reg file ? (it's not in the zip file)
All i did was uninstall makemkv and this problem occured

Thanks guys

StainlessS
20th January 2021, 21:55
Error 126 is missing dependency [I think], eg runtime,
Is this for Avisynth MT x64 again ? ::: Suggest open your avisynth.dll with Dependency Walker, see what runtimes it requires.
Why use MT, really, why ? [whats wrong with Avs+ ?]
SysWOW64 is for x86 not x64. [I know, SysWOW64 is stupid/confusing name].

kedautinh12
20th January 2021, 22:42
I'm back with a problem (once again) avisynth won't work [error 126]. i put the .dll on syswow64. My guess is it's not registered somehow, where can i get the reg file ? (it's not in the zip file)
All i did was uninstall makemkv and this problem occured

Thanks guys

You can use avisynth info tool and check what your error

Mounir
21st January 2021, 01:05
result with avisynth info tool

cannot load avisynth.dll

dependencies not loaded:
DevIl.dll

i use avisynth 2.6 MT (X86)

Groucho2004
21st January 2021, 01:48
result with avisynth info tool



i use avisynth 2.6 MT (X86)
You could solve this problem in a few minutes by simply using the universal installer.

StainlessS
21st January 2021, 05:29
You could solve this problem in a few minutes by simply using the universal installer.
That sounds like a plan.

tebasuna51
21st January 2021, 11:34
You could solve this problem in a few minutes by simply using the universal installer.
The same answer here:
@Mounir
You can use, or at last see the reg operations (in setavs.cmd), the Universal Avisynth Installer (https://forum.doom9.org/showthread.php?p=1720988#post1720988)

@Mounir
Forun rule 8
8) No cross posting. Post your message once, to the appropriate forum and nowhere else or it will be locked or deleted without warning.

result with avisynth info tool

dependencies not loaded:
DevIl.dll

i use avisynth 2.6 MT (X86)
You must copy also DevIl.dll in syswow64 folder

caiyuwei
14th March 2021, 15:46
...all load except removegrain, removedirt and warpsharp - for these 3 I get a VD error "unable to load - module not found." (also the others if I corrupt their names - so they are in the right place.)

?a problem of missing dlls or registries? I sem to have loads of copies of MSVCR80.DLL and Microsoft Visual c++ 2013. Way out of my depth. Grateful for any suggestions.

I have the same problem. I installed VisualCppRedist_AIO_x86_x64_45 but there's nothing change. Can anybody help me please? I really need it.

Arx1meD
14th March 2021, 16:25
caiyuwei, what error message did you got?