D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1701 - rcc fails on ico with Vista 256x256 icon
Summary: rcc fails on ico with Vista 256x256 icon
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 21:05 UTC by Bill Baxter
Modified: 2020-06-09 10:23 UTC (History)
2 users (show)

See Also:


Attachments
RC file to repro problem (36 bytes, text/plain)
2007-11-29 21:06 UTC, Bill Baxter
Details
ico file to reproduce problem (12.48 KB, application/octet-stream)
2007-11-29 21:07 UTC, Bill Baxter
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Bill Baxter 2007-11-29 21:05:36 UTC
Vista allows ico files to have big PNG-compressed 256x256 icons.
The rcc tool that comes with the DMD distribution for windows fails on such ico files claiming something like:
"""
101 ICON DISCARDABLE "bigicon.ico"
                                 ^
bigicon.rc(1) : Error: 'bigicon.ico' doesn't contain a valid Windows 3.0 icon re
source
"""
Comment 1 Bill Baxter 2007-11-29 21:06:48 UTC
Created attachment 212 [details]
RC  file to repro problem
Comment 2 Bill Baxter 2007-11-29 21:07:22 UTC
Created attachment 213 [details]
ico file to reproduce problem
Comment 3 Mathias LANG 2020-06-09 10:23:51 UTC
There is no more `rcc` distributed with DMD, so closing.