Article View: borland.public.cppbuilder.nativeapi
Article #13922Re: Communication via LPT port
From: Remy Lebeau (TeamB)
Date: Mon, 08 Sep 2003 23:57
Date: Mon, 08 Sep 2003 23:57
20 lines
1616 bytes
1616 bytes
"ScOe" <sven.savic@zg.hinet.hr> wrote in message
news:3f5cfe18@newsgroups.borland.com...
> HANDLE hLPT=CreateFile("LPT1",GENERIC_WRITE,0,NULL,
> OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
<snip>
I know that for COMM ports, at least, you usually have to set up the port
via SetCommState(), SetCommTimeouts(), etc. before you can use the port
effectively. Probably the same applies to parallel ports as well.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f5d173e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f5cf06b@newsgroups.borland.com> <3f5cf93a@newsgroups.borland.com> <3f5cfe18@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d0bebb98df6a923e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-08 17:01:16 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f5cf06b@newsgroups.borland.com> <3f5cf93a@newsgroups.borland.com> <3f5cfe18@newsgroups.borland.com> Subject: Re: Communication via LPT port Date: Mon, 8 Sep 2003 16:57:20 -0700 Lines: 22 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: 207.175.226.26 Message-ID: <3f5d173e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063065406 207.175.226.26 (8 Sep 2003 16:56:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail