Visual C++/Studio: Application configuration incorrect?

后端 未结 10 1637
执笔经年
执笔经年 2020-12-18 11:11

My C(++) program, written and compiled using Visual C(++)/Visual Studio, runs fine on my own machine, but refuses to run on another machine. The error message I get is \"Thi

10条回答
  •  既然无缘
    2020-12-18 11:43

    First thing you must use

    #define _BIND_TO_CURRENT_VCLIBS_VERSION 1
    

    or add _BIND_TO_CURRENT_VCLIBS_VERSION=1 to the preprocessor directives.

    The problem is related to binding and the manifest types, you can find more http://www.nuonsoft.com/blog/2008/10/29/binding-to-the-most-recent-visual-studio-libraries/

    By doing this your application will run with a larger range of runtime libraries versions.

提交回复
热议问题