X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw
Message-ID: <4B1DD21B.9020704@sbcglobal.net>
Date: Tue, 08 Dec 2009 04:12:11 +0000
From: Greg Chicares <gchicares@sbcglobal.net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Hippo icon for cygwin...
References: <4B1A229C.7090404@cwilson.fastmail.fm> <4B1A4EEC.4030108@sbcglobal.net> <4B1A6DEC.7010509@cwilson.fastmail.fm> <4B1B0CAB.5030100@sbcglobal.net> <4B1BF8F4.9080503@cwilson.fastmail.fm>
In-Reply-To: <4B1BF8F4.9080503@cwilson.fastmail.fm>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2009-12-06 18:33Z, Charles Wilson wrote:

[...vista-sized icons cause crashes on old XP machines...]

> Well then, what happens if the icon in question is inside a DLL?

We have a winner.

> Can you try creating a shortcut, and setting its icon to the hippo in
> each of these two DLLs?  The _vista one has the hippo with all
> resolutions including 256x256 png, and the _xp one has the hippo with
> everything but that.

On both machines--XP SP1 and XP SP2--these shortcuts seem
well behaved. Their icons are hippos in windows explorer.
They remained hippos when I copied both shortcuts to each
machine's desktop. No crash was observed with the dll as
the source of the icons.

Just for yucks, I tried dropping both resource dlls on the
1997 borland C++ 5.02 IDE, which is designed to extract
resources from executable binaries. The 'xp' dll loaded
fine: I could see all the icons, and even manipulate the
hippo. The 'vista' dll failed to load, giving a messagebox:
  "Resource compiler error: Invalid icon format"
I also tried dragging and dropping the 'vista' dll on my
2004 copy of 'irfanview'; it correctly displayed the classic
32x32x24bpp Cygwin icon.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

