This is the mail archive of the cygwin@sourceware.cygnus.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: setting icon for executable


Kyle -
  The easiest way is to learn by example. Go to http://cygutils.netpedia.net/ and
download "run.tar.gz". It's a very simple program with makefiles for MSVC and gcc,
and uses resource files/icons.

--Chuck


Kyle Downey wrote:

> I'd like to build some simple EXE's for Windows with gcc/cygwin (for an
> installer builder). Because these EXE's will be generated from templates, I'd
> like a simple way to associate ICO files with them so they show up in Explorer
> with the icon. I'm from the UNIX world. How is this done programmatically? I
> assume windres is involved somehow, but what's the API side? Anything special
> needed because it's gcc rather than VC++? Could anyone point me to a simple
> example? Thanks.
>
> regards,
> kd
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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