• An application has made an attempt to load the C runtime library incorrectly.Please contact the application's support te


    出现这个问题的原因:缺少了manifest,程序因此无法正常载入C runtime library。

    解决办法
    解决方法有两个:

    1. 将编译得到的 $(APP).exe.manifest 一并打包,即和应用程序放在同一个文件夹下;
    2. 将manifest文件直接嵌入到可执行文件。

    嵌入到可执行文件的方法是,需要在生成exe之后在执行下面的命令:

    mt.exe –manifest $(APP).exe.manifest -outputresource:$(APP).exe;1

    编译DLL的话,有一点点小区别的。

    mt.exe –manifest $(LIB).dll.manifest -outputresource:$(LIB).dll;2

  • 相关阅读:
    ubuntu安装
    学习资料

    disksim-3.0 with flashsim 安装
    STL
    存储引擎
    数据库索引
    数据库表、字段设计
    查询SQL优化
    导航栏实现
  • 原文地址:https://www.cnblogs.com/wuyaSama/p/2470301.html
Copyright © 2020-2023  润新知