lucasg / Dependencies

A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
MIT License
8.47k stars 697 forks source link

Unknown Missing Dependency Error in dll audio plugin #258

Open SuperKogito opened 5 months ago

SuperKogito commented 5 months ago

Issue Description: I am currently using dependency software to debug a .dll program, but I encountered an error indicating that something is missing. However, the error message does not provide any specific information about the missing dependency, such as its name or path. What could this possibly be ?

Meanwhile dependency Walker mentions a possible error but nothing is reported.

Steps to Reproduce:

The dlls can downloaded from here: https://github.com/james34602/SpleeterRT/releases/download/v0.2-alpha/Spleeter_Win.7z Start debugging the program using the dependency software. Encounter an error indicating a missing dependency, but without any further details.

Additional Information: Operating System: [Windows 11] received_376585834983215.png

received_397653222759020.png

viruscamp commented 1 month ago

I have checked Spleeter4Stems_1216F_128T.dll and found nothing wrong.

I think oleLoader.dll is so suspicious, I cannot find it in my system.Even a dll database does not have it. https://www.dll-files.com/search/?q=oleloader.dll

viruscamp commented 1 month ago

Do you have citrix installed?

It's said that oleLoader.dll may be a component of citrix which use AppInit_Dlls to inject dll to any process.

viruscamp commented 1 month ago

After setting AppInit_Dlls, I can see an extra dll is loaded.

You'd better check HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs

viruscamp commented 1 month ago

And the project has a function to load AppInit_Dlls, https://github.com/lucasg/Dependencies/blob/HEAD/DependenciesGui/DependencyWindow.xaml.cs#L714

AppInit_Dlls may have multiple values, oleLoader.dll is the found one, another marked as error is not found.