Missing msvcr100.dll

前端 未结 4 1319
慢半拍i
慢半拍i 2020-12-31 16:44

I made a program in Visual Studio 2010 on Windows 7 64-bit. When I try to run it on Windows XP 32-bit I got message that msvcr100.dll is missing. When I try to copy that fil

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-31 17:12

    First you need to make sure you're building a 32 bit executable - 64 bit ones won't run on 32 bit Windows.

    Then you can either...

    • Ship the 32 bit redistributables with your application.
    • Remove the runtime dependency altogether and link statically to the C++ runtimes. To do this, set Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library to Multi-threaded (/MT).

提交回复
热议问题