>> 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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to