473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Conversion from vc6 to vc7 linker issue

When I convert a program from VC6 to VC7 I get the
following linker error:

CVTRES : fatal error CVT1100: duplicate resource.
type:STRING, name:1686, language:0x0409
LINK : fatal error LNK1123: failure during conversion to
COFF: file invalid or corrupt

Duplicate resource...no problem! Except that I cannot
find that value anywhere!! No such string resource
exists. Here's the full linker output with some verbose
turned on:
Linking...
Searching libraries
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\mfc70d.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\mfcs70d.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\oledlg.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\urlmon.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcirtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\atlsd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\mfc70d.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\mfcs70d.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\msimg32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\comctl32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\shlwapi.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\oledlg.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\PlatformSDK\lib\urlmon.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcirtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\atlsd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual
Studio .NET\Vc7\atlmfc\lib\mfc70d.lib:

Finished searching libraries

CVTRES : fatal error CVT1100: duplicate resource.
type:STRING, name:1686, language:0x0409
LINK : fatal error LNK1123: failure during conversion to
COFF: file invalid or corrupt

I've searched my entire harddrive for the 1686 value,
WM+USER + <value>, etc. to find this string resource, but
to no avail. Any assistance would be much appreciated!

Martin

Nov 16 '05 #1
0 3318

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: adeht | last post by:
In his book, "Modern C++ Design", Andrei Alexandrescu presents a Generic Object Factory class (Loki::Factory). One of its advantages (also mentioned in the book) is being able to register the...
4
by: Sam Smith | last post by:
Hi, I'm thinking about whether or not to build a general library on its own and later link that lib with the main executable, or to build the main executable with a subset of the relevant source...
2
by: Zarnywoop | last post by:
Hi, Could someone offer a solution to the following issue I have with vc7.1. With VC6 it was possible to turn off linker warnings with a #pragma comment( linker, "/ignore:4049" ) line in...
3
by: Steve Baer | last post by:
I recently read your whitepaper under the "extremely long link times" post and have a question that I was hoping you could answer. My question is based on the following paragraph: Directives...
3
by: ralphsieminsky | last post by:
A project compiles fine under VS 2005 RC without the /clr option. However, when /clr is turned on several errors appear: - A symbol exported from a DLL is not found by another DLL referencing...
2
by: Urs Vogel | last post by:
Hi I have a C++ interop project, which links fine with VS2003, but after converting it to VS2005, it compiles everything withour errors/warnugs, but I get the following linker message. ...
2
by: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as...
29
by: aarthi28 | last post by:
Hi, I have written this code, and at the end, I am trying to write a vector of strings into a text file. However, my program is nor compiling, and it gives me the following error when I try to...
2
by: Oneironaut | last post by:
Hello friends, I have an issue with a linker warning. It is the warning LNK4089. I am working in MSVC6.0 I investigated and this warning tells that the import of the library to which it makes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.