Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Failed to load DLL: This component is missing a required dependency (...) (Read 4512 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Failed to load DLL: This component is missing a required dependency (...)

The question: how to determine missing dependency (name of the missing dll) when documentation for plugin is nonexistent or at least hard to find?

The source of problem:
As I wasn't sure how certain thing looked like in foo 1.3.17 and I didn't want to make just temporary downgrade from 1.4b2, so I just fired my Virtualbox and tried to make tests there. Of course I copied whole my config (plugins itself and their config files) into VM. Under host OS (Win7 x64) all my components are loading without "Failed to load DLL: This component is missing a required dependency (...)" error. However on guest OS (Win7 x86) some are throwing it.
I know what may be the reason for this. My host OS has always all MSVCRTs installed (starting from v2005, ending on latest available version at a time). I just do it "out of box" in case of OS reinstall. However on guest OS there was only v2013 installed (and I can't recall to do it on my own - possibly this could come as part of some Windows Update - for .NET or something like this as they have _clr400 suffix in filenames). So I suspect that one of those non installed MSVCRTs are required as this seems to be the only difference in my host and guest OSes that may apply to foobar.  But - on guest OS I would like to install only those seriously required. And here is the question: is there any tool that could allow me to check the name of dependency dll missing in foobar/OS which prevents plugin from being loaded?


Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #2
Many thanks!!!!

That's not the right place to ask, however I'll do this - I am not requiring anybody to answer. After I checked one of the components with Dependency Walker I have also checked its documentation (this one has it, unlike 2 others). Author claims that VC2015 redist should be installed for plugin to work. However Dependency Walker said that the dependency is MSVCP110.dll, which comes from VC2012 redist. What may be the reason for such inconsistency? VC2015 redist installs MSVCP140.dll ... I don't expect them to be interchangeable if program/module asks explicitly for MSVCP110.dll presence.

Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #3
Are you perhaps using an older version of a component? Would be weird if something used to be made with Visual Studio 2015 and was then switched to 2012.

Either way the runtimes are not interchangeable. Program requires the runtime from the Visual Studio version it was compiled with, except with Visual Studio 2015 and 2017. These two now use the same runtime and 2017's runtime is a direct replacement for 2015's. Had the component been compiled with 2015 it would have worked with foobar2000 v1.4 and its bundled runtime.

Re: Failed to load DLL...

Reply #4
last beta of foobar starts slowly. what does it mean?
win xp x32.


QC, QA

Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #5
last beta of foobar starts slowly. what does it mean?
This has nothing to do with foobar2000 and also doesn't mean, that foobar2000 starts slowly. Just ignore it. For further information look here.

Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #6
askold, are you noticing a startup speed reduction compared to 1.3? I do not see any speed difference over here on Windows XP setup. But I suppose a slight reduction might be possible for first start with slow disk since there are more dlls to load. That should only affect a cold start after the machine has been rebooted.

Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #7
Actually 1.4b2 is faster and uses 5-10MB (75 vs 81-85) less RAM on idle on my PC.

Re: Failed to load DLL: This component is missing a required dependency (...)

Reply #8
...a slight reduction might be possible for first start with slow disk ... after the machine has been rebooted.
yeah, you're right.
QC, QA