Solved

Direct port adressing

Posted on 1997-04-29
3
179 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
URL for downloading Google Chrome for Win XP 2 278
How to debug For loops? 3 73
Base1 Encode/Decode 3 99
Connect to SQL 2008 r2 server over the Internet 4 77
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

737 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