How to leave Visual Studio 2013 dlls dependencies behind?

后端 未结 3 872
星月不相逢
星月不相逢 2021-02-09 14:18

My application when opened in others computer will give an error missing msvcr\"something\".dll, I found out that to fix this they need to install the following: http://www.micr

3条回答
  •  执笔经年
    2021-02-09 15:18

    Because a lot of Programms use the functionality of these dll's they are dynamically linked.
    So your filesize stays small and in case of fixes within the dll you dont have to recompile your program.

    If you dont want this behaviour you can set in the projectsettings the dll's to "static linked" (/MT). That way they will be compiled into your executable

    Here is a relevant MSDN-article

提交回复
热议问题