SAFESEH and Visual Studio

31 Oct 2013 . category: tech . Comments

Many of us dont hugely enjoy recompiling libaries. I for one who only use 3 large and a handful of small, causing me to cringe at the idea of recompiling to include a new feature or worse a new platform. 

So when I hit:

error LNK2026: module unsafe for SAFESEH image.

So after looking around for a solution I found there is just a simple switch you can turn off to allow an old library to be used

SAFESEH Visual Studio

Hidden in Linker --> Advanced -> Image Has Safe Exception Handlers you can set this to No and recompile and your code work again.


Stuart James  


Stuart James

Assistant Professor in Visual Computing at Durham University. Stuart's research focus is on Visual Reasoning to understand the layout of visual content from Iconography (e.g. Sketches) to 3D Scene understanding and their implications on methods of interaction. He is currently a co-I on the RePAIR EU FET, DCitizens EU Twinning, and BoSS EU Lighthouse. He was a co-I on the MEMEX RIA EU H2020 project coordinated at IIT for increasing social inclusion with Cultural Heritage. Stuart has previously held a Researcher & PostDoc positions at IIT as well as PostDocs at University College London (UCL), and the University of Surrey. Also, at the University of Surrey, Stuart was awarded his PhD on visual information retrieval for sketches. Stuart holds an External Scientist at IIT, Honorary roles UCL and UCL Digital Humanities, and an international collaborator of ITI/LARSyS. He also regularly organises Vision for Art (VISART) workshop and Humanities-orientated tutorials and was Program Chair at British Machine Conference (BMVC) 2021.