May 25, 2001 Application Icon from .ICO File | ||||
---|---|---|---|---|
| ||||
I'm using the command-line tools to build a Win16 console app with the WINIO library. I have a resource script (.rc) and a binary icon (.ico) file. I want to know what directive to use in the resource script and/or RCC command line to include the .ICO file as the application icon. Thanks, Mark |
May 25, 2001 Re: Application Icon from .ICO File | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mark Evans | Answering my own question, this seems to work in the .RC script: #pragma res16 APPICON ICON ParkPlug.ICO winio_icon ICON ParkPlug.ICO where ParkPlug.ICO is my binary .ICO file. Resource scripting languages are always under-documented. Mark On Fri, 25 May 2001 18:11:45 GMT, Mark Evans <mevans@zyvex.com> wrote: > I'm using the command-line tools to build a Win16 console app with the WINIO library. I have a resource script (.rc) and a binary icon (.ico) file. I want to know what directive to use in the resource script and/or RCC command line to include the .ICO file as the application icon. > > Thanks, > > Mark > > |
Copyright © 1999-2021 by the D Language Foundation