This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: application icons



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]