address a port
Tim Roberts
timr at probo.com
Fri Mar 26 02:34:08 EST 2004
python473 at yahoo.com (John Howard) wrote:
>
>This is great. But what about win 98, win 95, xp, 2000?
For the 16-bit systems (Win98 and Win95), you can use the VERY handy
ctypes.py module to call the inp/inpw/inpd/outp/outpw/outpd APIs in
MSVCRT.DLL.
For the NT-based systems (Win2K and WinXP), a user-mode process is not
allowed to access I/O ports unassisted, regardless of the language. You
need the help of a kernel driver.
This is usually a bad idea. What are you trying to do?
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list