🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: LPT IRQ

#8554
From: Jim Dodd
Date: Thu, 14 Oct 2004 14:11
27 lines
1754 bytes
Kresten Tolstrup wrote:

> Hi,
> 
> I use C++ builder 4.0 and Win2000
> 
> How do I make, and setup a callback function which is called when there is an interrupt at the LPT ACK pin
> 
> Thanks
> Kresten 

Look at the TVicLPT component

http://www.entechtaiwan.com/tviclpt.htm

It gives you complete control (including an LPT interrupt event) over
the parallel port. You can treat the port as a parallel port, a
printer port or as individual pins to set high or low or read their
input state. There is a free version to try out and it's inexpensive
to buy. It will even find parallel ports installed at the high
addresses that the PCI bus and Windows XP insist on (in addition to
the old DOS locations of 278 h, 378 h and 3bc h).

Regards,

Jim Dodd
Onset Computer Corp.
Technical Details
Message-ID: <416e890a$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <416d2266$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,61960c89ee66c5fb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 14 Oct 2004 10:11:22 -0400
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: LPT IRQ
References: <416d2266$1@newsgroups.borland.com>
In-Reply-To: <416d2266$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.75.243.228
Message-ID: <416e890a$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097763082 24.75.243.228 (14 Oct 2004 07:11:22 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail