Article View: borland.public.cppbuilder.nativeapi
Article #13914Communication via LPT port
From: ScOe
Date: Mon, 08 Sep 2003 21:11
Date: Mon, 08 Sep 2003 21:11
25 lines
1801 bytes
1801 bytes
How do i send something to LPT1 port on WinNT.
I know how to send it with direct hardware access but that works only on
Win9x.
I've tried with CreateFile and WriteFile (just like with COM port)
but things get jammed on WriteFile and that function doesnt return, so i
need to kill the process.
--
,,,
(o o)
*===============ooo0====(=)====0ooo================*
| ScOe (mailto:sven.savic@zg.hinet.hr)
|
| Homepage:
|
| http://free-zg.hinet.hr/ScOe/
|
| ICQ# : 9947311
|
*================================================*
"In the End, we will remember not the words of our enemies,
but the silence of our friends. " - Martin Luther King Jr. (1929-1968)
Technical Details
Message-ID:
<3f5cf06b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-09!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!in.100proofnews.com!in.100proofnews.com!news-xfer.cox.net!peer01.cox.net!cox.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d0bebb98df6a923e,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-08 14:16:41 PST From: "ScOe" <sven.savic@zg.hinet.hr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Communication via LPT port Date: Mon, 8 Sep 2003 23:11:06 +0200 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.191.138.220 Message-ID: <3f5cf06b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063055467 213.191.138.220 (8 Sep 2003 14:11:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-09!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!in.100proofnews.com!in.100proofnews.com!news-xfer.cox.net!peer01.cox.net!cox.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail