comp.lang.ada
 help / color / mirror / Atom feed
* GUI Application in ObjectAda
@ 2009-09-16 16:13 nickname
  2009-09-17  8:30 ` Jérôme Haguet
  0 siblings, 1 reply; 4+ messages in thread
From: nickname @ 2009-09-16 16:13 UTC (permalink / raw)


I'm trying to build an Ada application with a GUI using the ObjectAda
command line interface in Windows XP.

My command looks like this:  adabuild -g $(Module)
I get an executable which runs but in addition to the GUI window that
I want I get a Windows Command Prompt window I don't want. How do I
prevent the Command Line window from appearing?

I tried adding the -w option to the adabuild command but when I do
that the EXE file I get doesn't do anything.

Thanks,

Ernie



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GUI Application in ObjectAda
  2009-09-16 16:13 GUI Application in ObjectAda nickname
@ 2009-09-17  8:30 ` Jérôme Haguet
  2009-09-17 11:38   ` nickname
  0 siblings, 1 reply; 4+ messages in thread
From: Jérôme Haguet @ 2009-09-17  8:30 UTC (permalink / raw)


Hello Ernie.

Try to add this option : -ll /SUBSYSTEM:WINDOWS

For more information, you can take a look at <ObjectAda>\help\cli.hlp

Hope this helps.

Jérôme

On 16 sep, 18:13, nickname <erwin.schu...@baesystems.com> wrote:
> I'm trying to build an Ada application with a GUI using the ObjectAda
> command line interface in Windows XP.
>
> My command looks like this:  adabuild -g $(Module)
> I get an executable which runs but in addition to the GUI window that
> I want I get a Windows Command Prompt window I don't want. How do I
> prevent the Command Line window from appearing?
>
> I tried adding the -w option to the adabuild command but when I do
> that the EXE file I get doesn't do anything.
>
> Thanks,
>
> Ernie




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GUI Application in ObjectAda
  2009-09-17  8:30 ` Jérôme Haguet
@ 2009-09-17 11:38   ` nickname
  2009-09-26 19:11     ` Alex
  0 siblings, 1 reply; 4+ messages in thread
From: nickname @ 2009-09-17 11:38 UTC (permalink / raw)


On Sep 17, 4:30 am, Jérôme Haguet <j.hag...@cadwin.com> wrote:
> Hello Ernie.
>
> Try to add this option : -ll /SUBSYSTEM:WINDOWS
>
> For more information, you can take a look at <ObjectAda>\help\cli.hlp
>
> Hope this helps.
>
> Jérôme
>

Jérôme,

Thanks, I tried that but it didn't help. I get an EXE but it doesn't
do anything when I double click on it.

Ernie




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GUI Application in ObjectAda
  2009-09-17 11:38   ` nickname
@ 2009-09-26 19:11     ` Alex
  0 siblings, 0 replies; 4+ messages in thread
From: Alex @ 2009-09-26 19:11 UTC (permalink / raw)


On Thu, 17 Sep 2009 04:38:11 -0700, nickname wrote:

> On Sep 17, 4:30 am, Jérôme Haguet <j.hag...@cadwin.com> wrote:
>> Hello Ernie.
>>
>> Try to add this option : -ll /SUBSYSTEM:WINDOWS
>>
>> For more information, you can take a look at <ObjectAda>\help\cli.hlp
>>
>> Hope this helps.
>>
>> Jérôme
>>
>>
> Jérôme,
> 
> Thanks, I tried that but it didn't help. I get an EXE but it doesn't do
> anything when I double click on it.
> 
> Ernie

This probably isn't relevant as it doesn't sound like you're using gnat 
but in gnatmake the "-mwindows" option gets rid of the command prompt.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-26 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 16:13 GUI Application in ObjectAda nickname
2009-09-17  8:30 ` Jérôme Haguet
2009-09-17 11:38   ` nickname
2009-09-26 19:11     ` Alex

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