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-7-bit X-Google-Thread: 103376,6299393aa51fdbf3 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.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: Tue, 15 Jun 2004 18:23:50 +0200 Organization: T-Online Message-ID: References: <2j6500Fu5ef7U1@uni-berlin.de> <2j7spuFubm8rU1@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 1087316329 04 10797 AYdSXnF6lM2sSk0v 040615 16:18:49 X-Complaints-To: usenet-abuse@t-online.de X-ID: rGNTpZZDreTexM7LL7byedrrihcjyS4S6Ad5szqCIqNkufxNZhQZsK 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:1511 Date: 2004-06-15T18:23:50+02:00 List-Id: Thanx Jano, it almost worked perfectly! But the programicon in the upper left corner of the programwindow is still the standardicon and not my programicon (shown in the explorer!) Maby someone can tell my the parameter for the gnat compiler? Thanx a lot !!! "Jano" schrieb im Newsbeitrag news:2j7spuFubm8rU1@uni-berlin.de... > Tanker wrote: > > 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. > > I've done it without special tools... wait a minute while I look for a > makefile I have somewhere... > > Ok... it seems I simply add to the gnatmake the obj as a linker argument: > > gnatmake whatever.adb -o whatever.exe -largs path/to/obj/icon.o > > However the pragma linker_options should give the same result... :/ > > Hope this helps.