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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0077c2a3f44fc09 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!news.icp.pl!newsfeed.gazeta.pl!opal.futuro.pl!news2.icm.edu.pl!news.man.lodz.pl!not-for-mail From: "S�awo - MIR" Newsgroups: comp.lang.ada Subject: Port LPT + ADA Date: Fri, 3 Dec 2004 14:56:18 +0100 Organization: LODMAN - Metropolitan Area Network in LODZ, Poland Message-ID: NNTP-Posting-Host: r1ds.p.lodz.pl X-Trace: kujawiak.man.lodz.pl 1102082179 10521 212.51.207.146 (3 Dec 2004 13:56:19 GMT) X-Complaints-To: abuse@man.lodz.pl NNTP-Posting-Date: Fri, 3 Dec 2004 13:56:19 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news1.google.com comp.lang.ada:6735 Date: 2004-12-03T14:56:18+01:00 List-Id: Hi ! I try to read data in ADA from input register (pins: 10,11,12,13,15) of LPT port and I can't do this :-(, with using a handle and function CreateFile(), and then ReadFile() from Win32.Winbase. The connection is probably made, but register is located in memmory address 379h, and I can't get there :-( I know that way it can be read from COM port, but can I make it with the LPT port too??? I don't know if I can do it with this functions CreateFile and ReadFile from library Win32.Winbase. Maybe someone help me with LPT ?!? ;-( maybe someone help me and send me a few lines of code? ;-) PS Please, forgive me my English :/ S�awo - MIR