CA Plex 7.2.1 Visual Studio 2013 C++ LINK Error

book

Article ID: 4674

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

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?

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.

Environment

Visual Studio 2013

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.