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!news1.google.com!news.glorb.com!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:42:37 +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 1087238257 06 1468 hUvSX2IO1VafVo8 040614 18:37:37 X-Complaints-To: usenet-abuse@t-online.de X-ID: b0RTWBZJoe8cjmLCu0u7gP5PSb5D6-X9o6l4-vVrTvdGBHFjh3LiU5 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:1484 Date: 2004-06-14T20:42:37+02:00 List-Id: It works as far as the *.o file is created. I tried it with the wglink.exe but the gnat compiler tells me, that he cant find the wglink.exe! (gnatmake xfile.adb --GNATLINK=wglink.exe --- in the directory where the file to bind is) how can I only include the *.o file in my source code? Do I have to use the command: pragma linker_options("icon.o"); I tried it, but the result isn't what i want it to be: the programicon is still the standard icon. "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�!