472,789 Members | 1,215 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 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 3295

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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.