Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <038f01c10946$9cdeeaa0$6d07a8c0@miro>
From: "Michael Scheibler" <michael.scheibler@onevision.de>
To: "Dario Alcocer" <alcocer@helixdigital.com>
Cc: <cygwin@cygwin.com>
References: <030e01c1093b$0d089030$6d07a8c0@miro> <15179.1099.799991.279912@coyote.priv.helixdigital.com>
Subject: Re: application icons
Date: Tue, 10 Jul 2001 15:45:42 +0200
Organization: OneVision Software AG
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200


From: "Dario Alcocer" <alcocer@helixdigital.com>
Sent: Tuesday, July 10, 2001 3:34 PM


> >>>>> "Michael" == Michael Scheibler <michael.scheibler@onevision.de>
writes:
>
>     Michael> Is it possible to give an icon to an .exe?
>
> Yes, but it needs to be linked into the EXE.  However, a work-around
> of sorts is to create a short-cut to the EXE, and change the default
> icon of the short-cut by right-clicking on the short-cut and clicking
> on Properties.

Well, actually I wanted to know how to link an .exe with an icon.
I tried this:

echo "iconid icon file.ico" | windres -O coff -o file.o
gcc .... file.o -o binary.exe

What am I doing wrong?

Michael



>
> Hope this helps,
>
> --
> Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
> alcocer@helixdigital.com -- http://www.helixdigital.com
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

