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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7cbbcde0157485b2 X-Google-Attributes: gid103376,public From: "Sune Falck" Subject: Re: Problem w/ Win NT Apex or just me? Date: 1998/10/16 Message-ID: <7082o1$93l$1@news.han.telia.se>#1/1 X-Deja-AN: 401879533 References: <36278110.66641D91@stelnj.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Organization: Telia AB Newsgroups: comp.lang.ada Date: 1998-10-16T00:00:00+00:00 List-Id: 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