Answer the question
In order to leave comments, you need to log in
How to find out which dll the program (mvs c++) will use?
Hello, I noticed that when transferring a program written in MVS C ++ to another computer where MVS is not installed, it is required to additionally include some dlls from MVS with it, and even for a regular helloword, two libraries MSVCP120.dll and MSVCR120.dll are required. Actually the question is: is it possible to see what standard dlls will be used when creating a project in VS, so as not to guess later? And purely theoretically, why do we need these dll libraries for elementary console programs? I would be very grateful for a detailed answer.
Answer the question
In order to leave comments, you need to log in
As far as I know, in order not to guess, they put on the client the version of the VS package in which the project was compiled
www.microsoft.com/en-us/download/details.aspx?id=40784
And how can I add all these libraries when building through VS?
In some properties, something to add or something else?
I don’t want to somehow collect these dlls with my hands
. In Python, there is a py2exe utility that does everything and even collects everything in .msi.
Is there anything similar for c++?
Saw above comment about windeployqt. Yes, this is cool, only he adds Qt dll exclusively, but I don’t want to manually add the rest either. Yes, and I would still like to do this through VS and not through the command line, since I have to use VS (
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question