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-16T18:52:07+00:00	[thread overview]
Message-ID: <3627A48C.6B714543@stelnj.com> (raw)
In-Reply-To: 7082o1$93l$1@news.han.telia.se

Sune,

  Thanks for the reply.  The problem exist w/ WinNT, however.  I have no
problem running from Win95 either.

  WinNT holds the ports so that one cannot appearently get at them accept
through an API.  Actually I am still interested to find out why I have a
problem w/ the pragma interface.  If you could try that test and let me know
what you come up with that would be great.  Thanks in advance.

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-16  0:00   ` Roga Danar
1998-10-18  0:00     ` Dmitriy Anisimkov
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