Author Topic: Parallel Port Access - IOPerm error  (Read 6526 times)


  • Newbie
  • Posts: 1
Parallel Port Access - IOPerm error
« on: June 13, 2004, 05:29:37 am »

I've just downloaded and installed the latest version of Lazarus and FreePascal available on the site. I'm using Slacware 9.1 and I'm trying to build a project where I need to access a external custom hardware through the parallel port.

In older versions, I used the IOPerm instruction to get access to the range of addresses that I need, but in this latest version the same code returns me the error: Identifier not Found: IOPerm.

I really don't know any other way of reading and writing data to the parallel port and I don't know how to solve this problem.

Thank you in advance.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Parallel Port Access - IOPerm error
« Reply #1 on: June 13, 2004, 11:21:44 am »
One of the major changes betweem fpc 1.0.x and fpc 1.9.x is the replacement of the linux unit by the unix and baseunix units.
Try using the fpIOPerm function in of those units instead.


TinyPortal © 2005-2018