small DLL problem

No
Notehook
Posts: 19
Joined: Tue Oct 29, 2013 6:39 pm
Platform: Windows

Wed Nov 29, 2017 11:07 pm Post

I'm not sure if this is just me or not, but I've been getting an error that tells me:

"The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem."

The first time it happened was when I tried to open the beta right after installing. It pops up after the time limit notice. After closing the error window, the beta does open. I did try to reinstall anyway, but it still gave me the error when trying to open the beta. Only seems to happen when I'm opening something up for the first time, even the Project Templates dialog for the first time. And doesn't seem to have any adverse effect.

I have the beta installed on Win7

ji
jillian.alberts
Posts: 7
Joined: Thu Apr 07, 2016 9:50 pm
Platform: Linux + Windows

Thu Nov 30, 2017 4:44 am Post

Some googling shows that MSVCR120.dll is part of Microsoft's "Visual C++ Redistributable Packages for Visual Studio 2013".

You could download and install the file from https://www.microsoft.com/en-us/download/details.aspx?id=40784 and see if it helps.

No
Notehook
Posts: 19
Joined: Tue Oct 29, 2013 6:39 pm
Platform: Windows

Thu Nov 30, 2017 9:14 pm Post

Thanks for that, but actually I already did that search and found the packages to download. I haven't installed them yet because, honestly, it doesn't pop up very much at all and it doesn't seem to hinder any functionality.

I've only had the popup 2 other times, but this time I decided to post because (1) this is a beta, (2)what was happening on my system may be happening on other systems, and (3) the development team might like to know whether they decide it's not a priority (because it really is a minor error), or change the req list, or test if 2013 redist is installed on the system during software install.

It's so minor that if the beta were the current version, I wouldn't have posted about it at all.

User avatar
tiho_d
Posts: 289
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Thu Nov 30, 2017 9:52 pm Post

Thank You for your report, NOTEHOOK! This DLL is indeed not used by Scrivener directly, as Scrivener and all the tools around it are using VS2015 Update 3 and VS2015 redistributables. Scrivener is using MSVCR140.dll, which is available within the Scrivener installation folder. Sometimes 3rd party DLLs are loaded from the OS when an application starts. Using a tool called Dependency Walker can help trace the DLLs loaded on your particular system. It should also show you exactly which DLL tries to use the MSVCR120.dll. This is not an easy task. Let me know, if you have the time and want to deal with it. I will provide you with more instructions how to work with Dependency Walker.