From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,6299393aa51fdbf3 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: set programm icon Date: Mon, 14 Jun 2004 19:18:56 +0200 Message-ID: <2j6500Fu5ef7U1@uni-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de dfMp71Mfp+s6JXqWNnoA3AdEA2Plu/vgGaIOglMDNzCYXS+W4= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: es-es, es, en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:1476 Date: 2004-06-14T19:18:56+02:00 List-Id: Tanker wrote: > Hi, > I want to set up a program icon for my program, but I have no idea how to do > that. I'm using Adagide and the Gnat compiler 3.13p. I've done it with 3.15p, I don't know if it works with previous versions. Install gnatwin from ACT europe, there is a windows resources compiler (rcl I think). Create a .rc file (you can use visual studio or do it by hand, google should provide enough info) pointing to your icon. Compile with rcl the resource file and you'll get a .o object file. Include that file in the compiler chain to get it linked with your executable and voil�!