473,396 Members | 1,892 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,396 software developers and data experts.

Need help figuring out: "CVT1100 Duplicate Resource: type ICON"

I've been trying to solve this issue for the better part of a month. My
attempts to get an answer on the MSDN groups proved to no avail. Here is the
situation/problem.

I am migrating an old piece of software developed using VC++ 4.2, running on
Windows NT 3.51 to VC++ 2005, running on Windows XP Pro SP2. I went through
all of the necessary gyrations to reach the point where all of the deprecated
functions were dealt with. I got a clean compile ... except for this:
"CVT1100 Duplicate Resource: type ICON, name: 1, language 0x0409"

So far, I've used a tool to renumber the constants defined in resource.h.
No joy. I tried changing the value of typelib resource ID - I tried a whole
range of values but the error still gives a "1".

Since the MSDN groups couldn't offer any enlightenment other than to say
something along the lines of, too bad you're going from 4.2 to 2005 in, as
Shakespeare might say, "one fell swoop" but you're on your own.

A general web search did turn up this discussion from 2005
(http://www.pcreview.co.uk/forums/thread-1346898.php). There did/does seem
to be an issue where this bizarre error arises but it's not obvious that it
applies to me. Now for some details.

There is one resource file that references the various constants in
resource.h. That file is called MAKEMTC.rc. Two constants are referenced in
the Icon section: IDR_MAINFRAME (128) and IDR_MAKEMTTYPE (129). These, in
turn reference .bmp files. IDR_MAINFRAME is used in a bunch of other places
in the .rc file: Accelerator, where it points to a table display, Menu for a
menu, Toolbar for a toolbar, Dialog for a dialog, and string for string(s).
I tried commenting out various combinations of the two Icon constants - when
I commented out ALL references I got "CVT1100 duplicate resource type Dialog
name 100". This was at least different though the constant in question
wasn't duplicated anywhere.

This program compiles using the 4.2 compiler - there is still a version
running on an old NT 3.51 machine. So, something has changed in Visual C++
that makes things no longer work. The question is, what?

This isn't a programming problem that will yield to logic. I'm interested
in any suggestions as to how to proceed. I don't want to have to completely
rewrite this software from scratch - it's not in the budget/schedule.

To summarize:
(1) there are no duplicate IDs, even though the compiler complains there are;
(2) changing the typelib resource ID, the fix recommended in Help, has no
effect;
(3) all of the ID's are used in a single .rc file, so it's not obvious that
the discussion from 2005 applies but it suggests this may somehow be related
to some changes that Microsoft made.

--
Maritime Electronic Warfare, Crane NSWC
Jun 27 '08 #1
0 1960

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

Similar topics

3
by: F C | last post by:
I have http://localhost/myweb1 who redirect me to my pages. I would like to have http://localhost/myweb2 which I would like to use the same exact set of pages, except a different global.asa...
2
by: Mark | last post by:
Visual C# .Net Standard 7.1.3088 I'm trying to change the type of application from a windows to a console app. I go into the project properties --> Application --> According to the help, I...
7
by: Drew Berkemeyer | last post by:
I've encounted a pretty strange problem and I'm not quite sure what to make of it. I have a web service that consumes an XML file as well as a few other parameters. This web service works fine...
4
by: Ray Stevens | last post by:
Is it possible to place a company icon (logo) in the browser address field so that if a user copies it as a shortcut to his desktop the icon will be there. For example, like this:...
2
by: Matt | last post by:
I'm working on a plug-in for an application called DesktopSideBar for Windows. It emulates to some degree the Longhorn sidebar. The SDK for DesktopSideBar supports .NET plug-in development through...
5
by: Mark Woodward | last post by:
Hi all, I'm trying to set up a 'control panel' consisting of a table of icons. The early stages: http://www.deepinit.com/controlcentre.php Each of these is set up like: <td> <input...
0
by: Greg Larsen | last post by:
How add the "Active File" icon (down arrow), and the "Close" icon (X) next on TabPage in the gray space next to the tabs, so when I click on the X the active Tab closes, and and when I click on the...
0
by: UT-BadBoy | last post by:
Hi, I've been working with ASP.NET for about a year so I'm still considering myself to be somewhat of a novice in this field. I am receiving this particualr error when trying to hit a...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.