This morning I downloaded the source code for an app I wanted to study. It was originally intended to be built with VC++6 so I imported the dsw workspace (into VS2005). Normally, any such projects convert successfully. It's rare for me to encounter any problems.
In this case, everything compiles okay but I get these errors when it comes to generating the manifest:-
1>Compiling manifest to resources...
1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
I found this explanation on MSDN. It suggests that there's a resource in my resources file with an ID '1' which conflicts with the ID of my type library, which is '1' by default. I looked in resource.h but couldn't see any resource with an ID of '1'. Nevertheless I followed the instructions for setting my typelib ID to something else. However, this hasn't helped.
Anyone else know what could cause this problem?
"A problem well stated is a problem half solved.” - Charles F. Kettering