Solved

Direct port adressing

Posted on 1997-04-29
3
169 Views
Last Modified: 2010-04-04
In Pascal you can access the paralel port with port[888]. Is
there in Delphi a similar way to get direct access to the
port and how is this done?
0
Comment
Question by:Deep Diver
3 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1335782
16-bit or 32-bit...

Erik.
0
 
LVL 2

Accepted Solution

by:
gysbert1 earned 100 total points
ID: 1335783
In Delphi 1 (i.e. 16 bit) you can still use Port and PortW the
same as always in old pascal. In Delphi 2 (32 bit, win 95 and NT) you must actually use a device driver. There is a brilliant component available however, which comes with a device driver for
95 and one for NT, which allows you to do direct port addressing, as well as direct memory addressing and IRQ handling. The component is called TVicHW32 (or something to that effect) and
can be obtained off the delphi superpage (sunsite.icm.edu.pl) by
clicking on search and filling in "port hardware" and clicking on 32 bit. The first result is the component you are looking for. The second result is the same, but only works under Win 95. Hope this helps...
0
 

Author Comment

by:Deep Diver
ID: 1335784
Sorry I should have specified 32 bit!

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Performance of SQL statement 37 111
Firemonkey android show image from resource ? 1 42
Delphi...Split view - idea? 1 68
Tidtcpserver listening on multiports? 1 27
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question