Error LNK1104 causing WinC/WinNT functions build failure after upgrade
search cancel

Error LNK1104 causing WinC/WinNT functions build failure after upgrade

book

Article ID: 45994

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

Our developer has recently upgraded from CA Plex 7.2 to CA Plex 7.2.1, and some of the WinC/WinNT functions are failing to build correctly. He encountered a linker error message:

LINK : error LNK1104: cannot open file 'mfc80.lib' ) when generating and building a particular WinC object. 

What is causing this problem and how do we resolve it?

 

 

Environment

CA Plex 7.2.1 and higher

Cause

The Plex developer did not follow the instructions given in the CA Plex release notes which specify that you must regen/rebuild all WinC/WinNT objects. So the linker is trying to link a function built with Visual Studio in previous CA Plex release with a function that was built with Visual Studio in the upgraded CA Plex release, and is throwing this linker error.

Resolution

Generate and Build all WinC/WinNT objects in the upgraded CA Plex. Details can be seen in the link in "Additional Information"

Additional Information