CA Plex 7.2.1 Visual Studio 2013 C++ LINK Error

Document ID : KB000004674
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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?

Environment:
Visual Studio 2013
Cause:

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.

Resolution:

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.

Additional Information:

Check out the comments in the following stack overflow question for more insight into what causes this error.