Solved

Direct port adressing

Posted on 1997-04-29
3
159 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
Comment Utility
16-bit or 32-bit...

Erik.
0
 
LVL 2

Accepted Solution

by:
gysbert1 earned 100 total points
Comment Utility
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
Comment Utility
Sorry I should have specified 32 bit!

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now