[fpc-pascal] (no subject)

Vladimir Karpenko cr0acker at mail.ru
Tue Jul 8 12:24:19 CEST 2008


>> How can i access harware ports if there is no ports unit on Linux
>> x64 port? 

>There is a tutorial for Hardware Access here:
>http://wiki.lazarus.freepascal.org/Hardware_Access
 Well of course i read that, but there is no ports unit in x64 Linux.

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
 {$IFDEF WIN32}
   Windows;
 {$ENDIF}
 {$IFDEF Unix}
   ports;
 {$ENDIF}

You see the given examples are using ports unit in *nix.



More information about the fpc-pascal mailing list