At 5:09 PM +0100 19-03-00, softbow wrote:
>"Ignored duplicate resource �MWC (16400) in <resourcefilename>.rsrc "
>
>Could someone give a solution to this problem ?

�MWC resources are used for the constructor-specific settings in a resource
file.  I really hate that constructor does it this way, but that's what it
does.

We've worked around these errors by explicitly telling all of our tools to
ignore �MWC resources.  You benefit from this more than you know!

Of coure, metrowerks tools don't work this way.  So when the linker goes to
merge all the resources into a final object file, you get the warning.

Depending on your platform, there may be a workaround.  The trick us to use
the "MacOS Merge" tool.  Create a new target in your project that's set up
to do a "MacOS Merge" on all your resource files.  This merge tool can be
configured to ignore certain resource types: tell it to ignore �MWC
resources.

Now you've got a 'sub-project' that takes all your resources and munges
them together into one big resource file, and strips out the �MWC resources
in the process.  Once this is done, you can include the merged resource
file in your real application, and CW will build exactly the same .prc that
it used to.

It's a lot of work, but it gets rid of that annoying compiler warning, and
I think it's worth it.  I prefer when my code builds with no warnings
whatsoever, so that I don't get into the habit of ignoring them.

                                --Bob



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to