Solved

Direct port adressing

Posted on 1997-04-29
3
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 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