Board index » delphi » Poring an application from 16 to 32 bits

Poring an application from 16 to 32 bits

Hello,

In Borland C++, in 16 bits we can use the instruction : void outport(int portid,
int value).
In 32 bits this macro does not exists. Anyone knows about the new macro in win32
?

Thanks a lot ..

 

Re:Poring an application from 16 to 32 bits


Hi
  I had the same problem. Here is a copy of the responce I got.

------------------------------------
In win32 direct access to ports and memory is limited, and access should
occur
via kernel mode drivers (NT). You can find components that is written for
port
access on the following sites:

DSP (http://sunsite.icm.edu.pl/delphi/)
http://www.lvr.com/parprtib.htm.
http://www.zeecube.com
http://www.geocities.com/SiliconValley/2926/tp.html chapter "windows", look
for
"TinyPort" and others.
-------------------------------------------

Through one of the sites above I got GWIOPM.SYS which will give you access
to port addresses. I can't remember which and my favorites site does not
exist any more. If you can't get to this file email me and i'll send you a
copy (284kb).

Simon

Quote
actia wrote in message <3715df18.24087...@news.iway.fr>...
>Hello,

>In Borland C++, in 16 bits we can use the instruction : void outport(int
portid,
>int value).
>In 32 bits this macro does not exists. Anyone knows about the new macro in
win32
>?

>Thanks a lot ..

Other Threads