逃避虽然可耻但有用

逃避虽然可耻但有用

少壮不努力,一生在内地

  • 主页
  • 归档
  • 关于
  • 消失

error LNK2026: module unsafe for SAFESEH image 解决方案

2013-10-03

文章目录
    • 解决方案
      • 方法1
      • 方法2

解决方案

下面两种随便选一种

方法1

去掉项目设置中: Linker -> Advanced -> [Image Has Safe Exception Handlers] = “No”

方法2

直接在代码中:

#pragma comment(linker, "/SAFESEH:NO")
Programing
Advanced C Error Image Linker LNK2026 Module SAFESEH Unsafe

上一篇

自己使用过程中使用zlib链接时出的错误总结

下一篇

如何用正确的 C 运行时 (CRT) 库链接

文章分类

  • 1 deploy
  • 1 interesting
  • 29 linux
  • 6 notices
  • 28 programing
  • 1 sites
  • 10 summarys
  • 2 works

文章标签

  • c3
  • centos5
  • compress2
  • conf2
  • css2
  • gcc2
  • git3
  • html2
  • https2
  • hugo2
  • install4
  • kernel3
  • layout2
  • libc2
  • linux12
  • ln2
  • make3
  • mud2
  • python3
  • safeseh2
  • style2
  • sudo2
  • ubuntu8
  • windows4
  • yum4
  • zlib4
RSS 订阅

Hello, this is leaker's blog in github.
Leaker: "Living without an aim is like sailing without a compass."

Powered by Hugo and Theme by Fika © 2022 leaker