MSVCP140D.dll missing, is there a way around? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have made an encryption application in visual studio 2017. work fine in a environment with VS2017 already installed but the application is not portable.
In a environment where not version of VS is installed a error show up.
MSVCP140D.dll missing
I don't want to download everytime Visual Studio for fixing this error, is there a way to prevente it ?
More information about the application :
Compiled in VS2017
made on Windows 10 x64
use Tiny file dialogue

You should distribute release version of executable that will depend upon VS 2017 redistributable package rather than debug version that depend on debug runtime libraries (notice the D suffix in library name).

You can link the runtime library statically, or provide the VS 2017 redistributable.

Related

How to open Visual Studio Express 2013 for Windows Desktop (C++)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I downloaded and installed Visual Studio Express 2013 for Windows Desktop, and now I want to start it. I expected I could just go to Metro and type, but nothing (relevant) comes up! I tried to find the installation folder but can't find it. There are a few versions of Visual Studio but none of them say "Express 2013". Despite how I sound, I'm not a complete idiot when it comes to computers, but I just can't seem to open Visual Studio Express 2013 for Windows Desktop, well, the C++ IDE anyway. I have read the official "Getting Started" guides but they don't tell me how to actually open it! Why can't it be as easy as opening IntelliJ IDEA or PyCharm?
Ok for all who have trouble opening VS you can do it like so:
In the search area of Start type run and in the run window type devenv.
You can also press Win + R to open the run window.

Can I use Visual C++ compiler without Visual Studio? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is there any way that I can use Visual C or Visual C++ compilers from the command line without having to install visual studio?
I have tried it before, and I couldn't find one. Seeking help.
Yes you can, for example Windows SDK comes with a Visual C++ compiler, but it doesn't contain Visual Studio, a quick search found this msdn page.
LE "brilliant" decision from Microsoft: it seems that newer Windows SDK doesn't come with compilers, so you need to install Visual Studio to have what to use from command line.

how to make mfc application independent to visual studio 10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have made mfc application using vs10 and made a setup file also for my application .
I can not be able to use this application in a system where vs10 is not there.
Please help .
Thanks in advance
You have to install Redistributable Package on that machine.
http://www.microsoft.com/en-in/download/details.aspx?id=5555
Alternatively, you can pack required dlls with your application.
You have to include the redistributable package of VS 2010 in your installation:
http://www.microsoft.com/en-us/download/details.aspx?id=5555
Users will need the Visual C++ 2010 runtimes on their system, which are available through redistributable packages. They should be included with your VS install, but you can also download them separately here:
x86: http://www.microsoft.com/en-gb/download/details.aspx?id=5555
x64: http://www.microsoft.com/en-gb/download/details.aspx?id=14632
You can use static linking of libraries to avoid the dependencies and avoid the need for installing the VC redistributable. There are two libraries required by your application: The runtime library and the MFC library. Static linking includes these libraries in your exe file.
In the project properties, for the release configuration, set "Runtime Library" to Multithreaded (/MT), and set "Use of MFC" to Use MFC in a Static Library.

Does MS Visual Studio 2012 Express include C#, Visual Basic, C++ at the same time? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to download a newer version of VS Express, but It seems to me that VS 2012 includes Basic, C# and C++ as well, however I only need C++...
Nevertheless I can download VS 2010 which includes only C++. (Visual C++ Express)
So I don't want to waste hard disk with unnecessery packages. Does 2012 include all these languages? What would you do in my place?
VS2012 is the first version of Visual Studio where the Express editions are no longer broken out by language preference. Guessing at a reason for this, it might have something to do with the proliferation of target platforms between these Express editions. New in VS2012 is the distinction between the Desktop, Windows 8 and Phone editions. If they would have kept the language choices, that would have added 8 more editions to choose from.
Be sure to pick the right one. With high odds that you want the Desktop edition unless you specifically want to target the Windows 8 Store or Phone. VB.NET, C# will come along with the ride, JS if you pick Store or Phone.
You could delete the VB and C# subdirectories after installing it but that will recover very little disk space. These languages share a lot of the plumbing in VS. Especially since C++ got integrated into the build system. Their compilers are not actually part of VS, they are part of .NET
Each Express edition is for a single language/purpose.
The full Visual Studio, however, combines everything into one big package.
EDIT: Chris, who's using it, notes in a comment that the Dekstop edition of Visual Studio Express indeed supports multiple languages.

What is the difference between a microsoft visual c redistributable package and a runtime package? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
What is the difference between a Microsoft visual c++ 2010 redistributable package and a Runtime package? I could not find the install files for the Runtime visual c++ 2010.
Its the redistributable package which include the run time. And at some places its called Runtime Redistributable.
The Microsoft Visual C++ 2010 Redistributable Package installs runtime
components of Visual C++ Libraries required to run applications
developed with Visual C++ on a computer that does not have Visual C++
2010 installed. This package installs runtime components of C Runtime (CRT), Standard C++, ATL, MFC, OpenMP and MSDIA libraries.
Ref: http://www.microsoft.com/en-us/download/details.aspx?id=14632