Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th August 2017, 15:48 | #1 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Avisynth_c.dll revisited
A terrible fate has befallen Defiant, my desktop of the past several years, and I've had to build a new one. this means I've had to reinstall everything, which means that I'm running into problems that I figured out how to solve several years ago and then forgot how I solved. In this case, Avisynth_c.dll is giving me headaches. Thanks to my previous two threads on the subject, I know that I shouldn't put it in the plugin autoload directory unless I need to load some Avisynth 2.0 C plugins and use STDcall for all the 2.5 C plugins. However, when it's NOT in the plugin autoload directory, vdub and Tsunami give me 3 error messages saying "The program can't start because avisynth-c.dll is missing from your computer. Try reinstalling the program". But then after clicking through all of those, everything works fine.
So how do I get rid of these errors without ruining my ability to actually use the loadcplugin command?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
16th August 2017, 17:09 | #3 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
You can auto install C plugins, eg
InitExternalPlugins.avsi (my current init script) Code:
fn1 ="C:\NON-INSTALL\DGMpgDec\DGDecode.DLL" Exist(fn1) ? LoadPlugin(fn1) : NOP fn2= "C:\NON-INSTALL\DGAVCDec\DGAVCDecode.dll" Exist(fn2) ? LoadPlugin(fn2) : NOP #fn3= "C:\Program Files\AviSynth\plugins\FFMS_C\ffms2.dll" # FFMpegSource C Plugin #Exist(fn3) ? LoadCPlugin(fn3) : NOP fn4= "C:\Program Files\AviSynth\plugins\FFMS2000_CPP\ffms2.dll" # FFMpegSource CPP Plugin #Exist(fn4) ? LoadPlugin(fn4) : NOP Exist(fn4) ? LoadPlugin(fn4) : RT_DebugF("FFMS2000_CPP: NOT FOUND") # added in BLUE #fn5= "C:\Program Files\AviSynth\plugins\FFMS_CPP\ffms2_26.dll" # FFMpegSource CPP Plugin #Exist(fn5) ? LoadPlugin(fn5) : NOP fn6= "C:\Program Files\AviSynth\plugins\LSMASH_CPP\LSMASHSource.dll" # L-Smash CPP Exist(fn6) ? LoadPlugin(fn6) : NOP
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 16th August 2017 at 17:14. |
17th August 2017, 22:21 | #4 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
Okay but will that work with C 2.5 plugins if avisynth_c.dll (which is for C 2.0 plugins) is in the autoload directory? And how would i modify it for my needs? I've never seen "avsi" files before so I can't make heads or tails of your code.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
18th August 2017, 17:24 | #6 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Okay, I found the answer. The secret is to install the x86 version of the Microsoft Visual C++ Runtime, 2010. This will also eliminate the error messages relating to vcruntime140.dll, msvcr100.dll, etc., which is what I was actually trying to solve when I figured this out.
And how, exactly, is that supposed to make the "I can't find avisynth_c.dll" error messages go away?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 18th August 2017 at 17:34. |
18th August 2017, 17:43 | #7 | Link | ||
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Quote:
I don't know why I even bother... |
||
18th August 2017, 17:45 | #8 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
Not having that file in the autoload directory was part of what was causing the problem to begin with.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
18th August 2017, 17:48 | #9 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
How about posting the script that gives you trouble? |
|
23rd August 2017, 17:48 | #12 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
In that case no program should complain about a missing avisynth_c.dll.
You could most likely locate your Avisynth problem by following my advice in my last post (#10). Last edited by Groucho2004; 24th August 2017 at 12:28. |
11th June 2019, 17:17 | #13 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
I just reinstalled windows and avisynth on a newly acquired laptop and I'm seeing a lot of these old problems again. This time, however, the avisynth_c.dll error persists even after installing all the MS VC++ runtimes.
And yet they do.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
11th June 2019, 18:08 | #14 | Link | ||
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Quote:
Anyway, run the Avisynth Info Tool and post the log (Save Info...).
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 11th June 2019 at 22:21. |
||
11th June 2019, 18:18 | #15 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 11th June 2019 at 18:47. |
|
11th June 2019, 18:53 | #16 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Not that it matters much but how do you know she installed all of them?
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 11th June 2019 at 19:04. |
11th June 2019, 18:59 | #17 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
You guessin' that she's tellin' porkies ?
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
11th June 2019, 19:01 | #18 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
This post makes me think that she installs things randomly. I doubt very much that she knows the whole list of MS C++ runtimes.
__________________
Groucho's Avisynth Stuff |
11th June 2019, 19:05 | #19 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Arh well, as they say, arrogance is bliss.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
2nd August 2019, 05:58 | #20 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Are there any MS Visual C++ runtimes other than 2008, 2010, 2012, 2013, and 2015/7 (2017 is just a slightly updated 2015), all in both x86 and x64 flavors? Those are the ones that I have.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
Thread Tools | Search this Thread |
Display Modes | |
|
|