digitalmars.D.learn - exe-Icon
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
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?
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:but isHi 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,compiler?there any chance to automatically set the icon using the dmdclass=3D=--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"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=background-=color: rgb(255, 255, 255); ">100 ICON "icon.ico"</span></div></blockquote><div><div>Then compile the resource file with yourfavorite re=source compiler.</div><div>Then pass the .res file as an argumentto dmd.</=div><div><br><div class=3D"gmail_quote">On Mon, Aug 1, 2011 at10:27 AM, Nr=gyzer <span dir=3D"ltr"><<ahref=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.currently using external tools to set my own icon for the exe, butis<br>there any chance to automatically set the icon using the dmdcompiler?<br></blockquote></div><br></div></div></div> --0015174780ae3c394704a9748211--Works - thanks :)
Aug 01 2011