🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8257

Re: Parallel and Serial Ports

#8257
From: Matt Claessen
Date: Sun, 07 Nov 2004 23:34
17 lines
1532 bytes
Hi,

----- Original Message ----- 
From: "Andrew McIsaac" <houston@compusmart.ab.ca>

>  read / write values ie bits on the pins to the parallel ports
> or be able to read the serial port.

For programming the serial port read this:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp

Writing bits to the parallel port should be fairly straightforward, as this is also done in printing.
Reading them is a lot more involving, especially on the NT Windows versions like XP.
You should look into generic device drivers like DriverX for this.

HTH, Matt 
Technical Details
Message-ID: <418eb0fc@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <418c6621$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee8d894d31a9c473
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Matt Claessen" <nospam@forget.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <418c6621$1@newsgroups.borland.com>
Subject: Re: Parallel and Serial Ports
Date: Mon, 8 Nov 2004 00:34:18 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.168.36.36
Message-ID: <418eb0fc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099870460 82.168.36.36 (7 Nov 2004 15:34:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail