[fpc-pascal]Re: (no subject) port[] with Win32

Balogh, Karoly (Charlie/iNQ) charlie at scenergy.dfmk.hu
Mon Jul 30 17:58:39 CEST 2001


Hi,

On 30-Jul-01, art wrote:

> How i can write to hardware ports(in Turbo Pascal port[adr]:=number) under
> win32 version of fpc?
> Maybe i need use winapi for it? Can you post small example, please.

AFAIK, you cannot do this, under Win32. This is not an FPC limitation, but
a limitation of Win32. You need to write a device-driver (VxD) for direct
port access. 

I'm not that good in Win32 programming, so maybe i'm wrong, but the Win32
ppl will fix me for sure, in that case.

Bye,
-- 
Charlie/iNQ & cORE.oRGaNiZiNg - #http://core.kign.org#
.:%[ Cybernetic Hydraulic Android Responsible for ]%:. 
.:%[    Logical Infiltration and Exploration      ]%:.
.:%[         Member of TeamOS/2 Hungary           ]%:.
.:%[     Member of Hungarian Amiga User Group     ]%:.





More information about the fpc-pascal mailing list