> -----Original Message-----
> From: Ken Cornetet
>
> Writing to an IO port from a user program isn't allowed under
> NT/2k/XP.
>
> To do this you need some sort of driver.
>
> Check out http://www.winfordeng.com/products/portio32/#samples
well somehow the single line of C code
outp(0x378,state)
writes to the parallel port on any of our Win98 and WinXP machines. the
single line of C is compiled all by itself (with the <conio.h> header of
course)
perhaps there is some sort of driver installed allowing this low level
access, but it is transparent to the above C code.
anyhow, my thought is that Perl would have a similar ability.
(BTW, I searched all network drives and my local drive for the example
"portio32.dll", but found nothing.)
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs