delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/10/09:46:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <038f01c10946$9cdeeaa0$6d07a8c0@miro>
From: "Michael Scheibler" <michael DOT scheibler AT onevision DOT de>
To: "Dario Alcocer" <alcocer AT helixdigital DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <030e01c1093b$0d089030$6d07a8c0 AT miro> <15179 DOT 1099 DOT 799991 DOT 279912 AT coyote DOT priv DOT helixdigital DOT com>
Subject: Re: application icons
Date: Tue, 10 Jul 2001 15:45:42 +0200
Organization: OneVision Software AG
MIME-Version: 1.0
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 AT helixdigital DOT com>
Sent: Tuesday, July 10, 2001 3:34 PM


> >>>>> "Michael" == Michael Scheibler <michael DOT scheibler AT onevision DOT 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 AT helixdigital DOT 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/

- Raw text -


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