I'm getting this error generating the main MDI (WinC function):
LNK1281: Unable to generate SAFESEH image.
What is causing this problem and how do I resolve it?
The error occurs because some input modules were not compatible with the safe exception handlers feature of the linker. In this case it was a third-party reference library that was part of the developer's standards layer. This library is not compatible with safe exception handlers because it was created with an older version of the Visual C++ compiler.
Visual Studio 2013
You will need to rebuild the library with Visual Studio 2013 compiler if you have the library's source. If not, then regenerate the library and rebuild.
Check out the comments in the following stack overflow question for more insight into what causes this error.