Thread View: alt.comp.sys.palmtops.pilot
4 messages
4 total messages
Started by vcentwickler
Sat, 30 Sep 2000 00:00
CodeWarrior+PalmOS* Link Warning: Duplicate resource ��MWC�(16400) in 'A2.rsrc'
Author: vcentwickler
Date: Sat, 30 Sep 2000 00:00
Date: Sat, 30 Sep 2000 00:00
30 lines
1872 bytes
1872 bytes
I added two recsource files to one project: A1.rsrc project settings: Generate App Resources unchecked Application Icon 1000 Auto Generate Header checked Include Details checked Keep IDs in sync checked Palm OS Target Palm OS 3.1 and later A2.rsrc project settings: Generate App Resources checked Application Icon 1000 Auto Generate Header checked Include Details checked Keep IDs in sync checked Palm OS Target Palm OS 3.1 and later When i link the project i get the message: Link Warning: Duplicate resource ��MWC�(16400) in 'A2.rsrc' If i exclude one Resource file the warning disappears. What�s the problem ? What must i do to include diferent resource files to one project ? Thank you for your help
Re: CodeWarrior+PalmOS* Link Warning: Duplicate resource ��MWC�(16400) in 'A2.rsrc'
Author: David Kendall
Date: Sat, 30 Sep 2000 00:00
Date: Sat, 30 Sep 2000 00:00
41 lines
2193 bytes
2193 bytes
You'd do better posting this in one of the Palm OS programming groups, such as pilot.programmer.codewarrior at news.masena.com, or sign up for the newgroups at www.palmos.com. BTW, that error has been around for a while. You can't fix it, so ignore it. David <vcentwickler@gmx.de> wrote in message news:39d63542.559303@news.btx.dtag.de... > > I added two recsource files to one project: > > A1.rsrc > project settings: > Generate App Resources unchecked > Application Icon 1000 > Auto Generate Header checked > Include Details checked > Keep IDs in sync checked > Palm OS Target Palm OS 3.1 and later > > A2.rsrc > project settings: > Generate App Resources checked > Application Icon 1000 > Auto Generate Header checked > Include Details checked > Keep IDs in sync checked > Palm OS Target Palm OS 3.1 and later > > When i link the project i get the message: > Link Warning: Duplicate resource ��MWC�(16400) in 'A2.rsrc' > > > If i exclude one Resource file the warning disappears. > What�s the problem ? > What must i do to include diferent resource files to one project ? > > Thank you for your help
Re: CodeWarrior+PalmOS* Link Warning: Duplicate resource ´µMWC´(16400) in 'A2.rsrc'
Author: Greg Letiecq
Date: Wed, 04 Oct 2000 00:00
Date: Wed, 04 Oct 2000 00:00
73 lines
3989 bytes
3989 bytes
I very much doubt that this can't be fixed. Here's what I'd look at first: Open the _res.h files that are created in the Rsc directory. Each resource type has an identifier, such as 'tFRM' for a form resource. The following line is going to be something like this: #define LoginForm 1000 //(Left Origin = 0, Top Origin... What this is showing is that the Resource ID's you specified in the painter actually have a more critical meaning to the compiler than the names you gave them. The compiler looks at in this case LoginForm as the number 1000, not as "LoginForm", a string. The resource painter does a decent job of assigning these resource ID's within a rsrc file, but it has no idea that there might be other files like this out there for some reason. So if in the first file I have LoginForm with resource ID 1000, and I create a new rsrc file and create a new form and call it JookyForm, guess what the resource ID gets assigned to that form? You got it, 1000. Now we've got two forms defined with the same resource ID of 1000, the definition of a duplicate resource. So if you look at these files, look for duplicate assigned resource IDs between files, and if you see them, there's your problem. The solution is simple. Just open one of the rsrc and reassign the ID values so they won't conflict. As a practice, the second resource file I include always has resource ID's greater than 4000. It keeps me out of this sort of trouble. Greg Letiecq Sybase Professional Services David Kendall wrote: > > You'd do better posting this in one of the Palm OS programming groups, such > as pilot.programmer.codewarrior at news.masena.com, or sign up for the > newgroups at www.palmos.com. > > BTW, that error has been around for a while. You can't fix it, so ignore it. > > David > > <vcentwickler@gmx.de> wrote in message > news:39d63542.559303@news.btx.dtag.de... > > > > I added two recsource files to one project: > > > > A1.rsrc > > project settings: > > Generate App Resources unchecked > > Application Icon 1000 > > Auto Generate Header checked > > Include Details checked > > Keep IDs in sync checked > > Palm OS Target Palm OS 3.1 and later > > > > A2.rsrc > > project settings: > > Generate App Resources checked > > Application Icon 1000 > > Auto Generate Header checked > > Include Details checked > > Keep IDs in sync checked > > Palm OS Target Palm OS 3.1 and later > > > > When i link the project i get the message: > > Link Warning: Duplicate resource ��MWC�(16400) in 'A2.rsrc' > > > > > > If i exclude one Resource file the warning disappears. > > What�s the problem ? > > What must i do to include diferent resource files to one project ? > > > > Thank you for your help
Re: CodeWarrior+PalmOS* Link Warning: Duplicate resource ´µMWC´(16400) in 'A2.rsrc'
Author: Greg Letiecq
Date: Wed, 04 Oct 2000 00:00
Date: Wed, 04 Oct 2000 00:00
4 lines
1334 bytes
1334 bytes
Saw a reference to this in another group. Ignore the error. It's a system generated resource that doesn't appear to matter. Greg
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads