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,FREEMAIL_FROM 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!news2.google.com!proxad.net!news.cs.univ-paris8.fr!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Tanker" Newsgroups: comp.lang.ada Subject: Re: set programm icon Date: Mon, 14 Jun 2004 20:17:19 +0200 Organization: T-Online Message-ID: References: <2j6500Fu5ef7U1@uni-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1087236745 06 32391 54JSX1XJfY2m5UQ 040614 18:12:25 X-Complaints-To: usenet-abuse@t-online.de X-ID: VA+TbmZCZe3hqWqVoZWr3AJ2CCVgl01-H40V682M65KnB1TUOOatUo X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1479 Date: 2004-06-14T20:17:19+02:00 List-Id: Hi, it worked perfectly: the rcl compiler created the *.o file from the *.rc file. Now I still got a problem: How can I include that file in the compiler chain in order to get it linked with my exe file? Thanx again "Jano" schrieb im Newsbeitrag news:2j6500Fu5ef7U1@uni-berlin.de... > 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�!