comp.lang.ada
 help / color / mirror / Atom feed
From: Roga Danar <smithm@stelnj.com>
To: Sune Falck <Sune.S.Falck@telia.se>
Subject: Re: Problem w/ Win NT Apex or just me?
Date: 1998/10/16
Date: 1998-10-16T19:32:19+00:00	[thread overview]
Message-ID: <3627ADF9.5351FBE0@stelnj.com> (raw)
In-Reply-To: 7082o1$93l$1@news.han.telia.se

Hi,

  I tried the test on GNAT Ada95 on WinNT and it printed to the local
printer fine but the network printer test failed.  I guess I am still a bit
confused.

  Also, the pragma import test STILL did not work.  This time the program
hung and did not complete.

-- Michael


Sune Falck wrote:

> This works with ObjectAda and gnat for Windows 95.
>
> with ada.text_io;
> use ada.text_io;
> procedure ptest is
>   printer : file_type;
> begin
>    create (printer, out_file, "lpt1:");
>    put_line (printer,"Test of printing"
>    put_line (printer,"End of test");
>    new_page (printer);
> end ptest;
>
> Roga Danar skrev i meddelandet <36278110.66641D91@stelnj.com>...
> >Hi,
> >
> >  I have been attempting to write an Apex Ada95 program that will print
> >from WIN NT w/ using the WIN API, just as a test.
> >
> >  The following code fails on each block, but I expected that.
> >  But I am confused why the pragma interface to a C program is not





  reply	other threads:[~1998-10-16  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-16  0:00 Problem w/ Win NT Apex or just me? Roga Danar
1998-10-16  0:00 ` Sune Falck
1998-10-16  0:00   ` Roga Danar [this message]
1998-10-18  0:00     ` Dmitriy Anisimkov
1998-10-16  0:00   ` Roga Danar
1998-10-17  0:00 ` David C. Hoos, Sr.
1998-10-17  0:00   ` Tom Moran
1998-10-18  0:00     ` David C. Hoos, Sr.
1998-10-19  0:00   ` Roga Danar
replies disabled

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