[RESOLVED] DGIndexNV closing,... (DG 2053.0.0.172 + NV 419.35)

Support forum for DGDecNV
Selur
Posts: 112
Joined: Mon Nov 05, 2012 4:49 pm

Re: DGIndexNV closing,... (DG 2053.0.0.172 + NV 419.35)

Post by Selur » Fri Mar 15, 2019 5:45 pm

Tested the dlls and seems like this happens when dui70.dll (version 6.1.7600.16385) is inside the same folder as DGIndexNV.dll
Since I'm not sure why that specific dll is inside the folder I'll simply rename it till I stumble over a filter that doesn't work anymore.
(No clue why that dll would interfere with DGDecNV.)

Cu Selur

User avatar
admin
Site Admin
Posts: 4384
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGIndexNV closing,... (DG 2053.0.0.172 + NV 419.35)

Post by admin » Fri Mar 15, 2019 7:11 pm

Why are you putting windows DLLs in the plugin dir? It makes no sense.
No clue why that dll would interfere with DGDecNV.
Of course any windows application is going to reference windows DLLs. If you put rogue DLLs in the same directory as the app, then it is very likely to cause problems as they will be loaded instead of the correct ones.
I assumed that you should know which .dlls your compiled binary relies on and tries to load, but that doesn't seem to be the case.
Of course I know what DLLs my app explicity loads. For DGIndexNV they are windows DLLs and NVDec DLLs. Without the source code to windows, however, I don't know what child DLLs are loaded for standard things like opening a vanilla file open dialog. I expect there is a whole chain of them. And all these need to be correct and consistent. If you put a subset of unknown ("rogue") windows DLLs in the same directory as the app, then behavior will be undefined.

I don't know why a stand-alone Avisynth would need to copy windows DLLs. And if it must do so, then it's a very bad idea.

Selur
Posts: 112
Joined: Mon Nov 05, 2012 4:49 pm

Re: DGIndexNV closing,... (DG 2053.0.0.172 + NV 419.35)

Post by Selur » Sat Mar 16, 2019 2:31 am

Avisynth itself isn't the problem, but some older filters ;)

User avatar
admin
Site Admin
Posts: 4384
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGIndexNV closing,... (DG 2053.0.0.172 + NV 419.35)

Post by admin » Sat Mar 16, 2019 6:21 am

Still hard to believe.

Post Reply