🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: LPT IRQ

#8545
From: Andrue Cope [TeamB]
Date: Wed, 13 Oct 2004 13:29
21 lines
1598 bytes
Kresten Tolstrup wrote:

> How do I make, and setup a callback function which is called when
> there is an interrupt at the LPT ACK pin

That kind of low level hands-on programming is not normally permitted
from application code - the OS is designed to prevent it. Preventing
application code from talking directly to the hardware is a large part
of what makes Win32 so much more stable than DOS or Win16.

Instead of requiring/trusting programmers to work out how to talk to
the hardware safely Win32 tries to provide everything they are likely
to need through its API.

Tell us what you are trying to achieve and we may be able to point you
to a developer-friendly API function :)

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <416d2dc1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <416d2266$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,61960c89ee66c5fb,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: LPT IRQ
Newsgroups: borland.public.cppbuilder.nativeapi
References: <416d2266$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <416d2dc1@newsgroups.borland.com>
Date: 13 Oct 2004 06:29:37 -0700
X-Trace: newsgroups.borland.com 1097674177 217.207.223.34 (13 Oct 2004 06:29:37 -0700)
Lines: 21
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail