[sane-devel] attach xsane.ico to xsane.exe
Oliver Rauch
Oliver.Rauch@Rauch-Domain.DE
20 May 2004 23:44:12 +0200
Hello Julien,
I am using cygwin with gcc. I already found out that
I have to create a ressource that contains the icon.
There is a program "windres" that can create resources
and I am able to create a icon.res file.
Now I have to find out how to tell the linker to
link the ressource into the executable...
Oliver
Am Don, 2004-05-20 um 21.09 schrieb Julien BLACHE:
> Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE> wrote:
>
> Hi,
>
> > Can anyone give me a hint how I can
> > attach an icon (xsane.ico) into an executable
> > (xsane.exe) on a win32 environment?
>
> I'm no win32 expert, but afaik the icon is a resource of the
> executable. If you use MSVC, it's easy to do (can't remember how to do
> it, though), otherwise there are plenty of win32 resource editors
> available everywhere :)
>
> JB.