exe-Icon
Nrgyzer
nrgyzer at gmail.com
Mon Aug 1 11:27:09 PDT 2011
== Auszug aus Jimmy Cao (jcao219 at gmail.com)'s Artikel
> --0015174780ae3c394704a9748211
> Content-Type: text/plain; charset=ISO-8859-1
> Yes, add it as an ICON resource.
> In a .rc file:
> 100 ICON "icon.ico"
> Then compile the resource file with your favorite resource compiler.
> Then pass the .res file as an argument to dmd.
> On Mon, Aug 1, 2011 at 10:27 AM, Nrgyzer <nrgyzer at gmail.com> wrote:
> > Hi guys,
> >
> > the most applications using there own icons for the exe-file. I'm
> > currently using external tools to set my own icon for the exe,
but is
> > there any chance to automatically set the icon using the dmd
compiler?
> >
> --0015174780ae3c394704a9748211
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Yes, add it as an ICON resource.<div>In a .rc file:<br><blockquote
class=3D=
> "webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border:
none; paddi=
> ng: 0px;"><div><span class=3D"Apple-style-span" style=3D"font-
family: Monac=
> o, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
'Luc=
> ida Console', monospace; font-size: 12px; white-space: pre;
background-=
> color: rgb(255, 255, 255); ">100 ICON "icon.ico"</span></
div>
> </blockquote><div><div>Then compile the resource file with your
favorite re=
> source compiler.</div><div>Then pass the .res file as an argument
to dmd.</=
> div><div><br><div class=3D"gmail_quote">On Mon, Aug 1, 2011 at
10:27 AM, Nr=
> gyzer <span dir=3D"ltr"><<a
href=3D"mailto:nrgyzer at gmail.com">nrgyzer at gm=
> ail.com</a>></span> wrote:<br>
> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-
left:1p=
> x #ccc solid;padding-left:1ex;">Hi guys,<br>
> <br>
> the most applications using there own icons for the exe-file.
I'm<br>
> currently using external tools to set my own icon for the exe, but
is<br>
> there any chance to automatically set the icon using the dmd
compiler?<br>
> </blockquote></div><br></div></div></div>
> --0015174780ae3c394704a9748211--
Works - thanks :)
More information about the Digitalmars-d-learn
mailing list