delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/07/23:12:34

X-Recipient: archive-cygwin AT delorie DOT 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 AT sbcglobal DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Hippo icon for cygwin...
References: <4B1A229C DOT 7090404 AT cwilson DOT fastmail DOT fm> <4B1A4EEC DOT 4030108 AT sbcglobal DOT net> <4B1A6DEC DOT 7010509 AT cwilson DOT fastmail DOT fm> <4B1B0CAB DOT 5030100 AT sbcglobal DOT net> <4B1BF8F4 DOT 9080503 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4B1BF8F4.9080503@cwilson.fastmail.fm>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019