digitalmars.D.learn - exe-Icon
- Nrgyzer <nrgyzer gmail.com> Aug 01 2011
- Jimmy Cao <jcao219 gmail.com> Aug 01 2011
- Nrgyzer <nrgyzer gmail.com> Aug 01 2011
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?
Aug 01 2011
--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 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 gmail.com">nrgyzer 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--
Aug 01 2011
== Auszug aus Jimmy Cao (jcao219 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 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,
there any chance to automatically set the icon using the dmd
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
"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border:
ng: 0px;"><div><span class=3D"Apple-style-span" style=3D"font-
o, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
ida Console', monospace; font-size: 12px; white-space: pre;
color: rgb(255, 255, 255); ">100 ICON "icon.ico"</span></
</blockquote><div><div>Then compile the resource file with your
source compiler.</div><div>Then pass the .res file as an argument
div><div><br><div class=3D"gmail_quote">On Mon, Aug 1, 2011 at
gyzer <span dir=3D"ltr"><<a
ail.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-
x #ccc solid;padding-left:1ex;">Hi guys,<br> <br> the most applications using there own icons for the exe-file.
currently using external tools to set my own icon for the exe, but
there any chance to automatically set the icon using the dmd
</blockquote></div><br></div></div></div> --0015174780ae3c394704a9748211--
Works - thanks :)
Aug 01 2011








Nrgyzer <nrgyzer gmail.com>