comp.lang.ada
 help / color / mirror / Atom feed
From: "Tanker" <Tanker93@hotmail.com>
Subject: Re: set programm icon
Date: Tue, 15 Jun 2004 18:23:50 +0200
Date: 2004-06-15T18:23:50+02:00	[thread overview]
Message-ID: <can7h9$ahd$04$1@news.t-online.com> (raw)
In-Reply-To: 2j7spuFubm8rU1@uni-berlin.de

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" <notelacreas@porfavor.no> 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 <enter>  --- 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.





  reply	other threads:[~2004-06-15 16:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 16:22 set programm icon Tanker
2004-06-14 17:18 ` Jano
2004-06-14 18:17   ` Tanker
2004-06-14 18:18   ` tmoran
2004-06-14 18:42   ` Tanker
2004-06-14 19:34     ` tmoran
2004-06-15  9:11     ` Jano
2004-06-15 16:23       ` Tanker [this message]
2004-06-15 19:34         ` Bernd Specht
2004-06-15 21:22     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox