RE: send output to a parallel port?

2005-07-22 Thread robert johnson
um... sorry Ken, you are absolutely right. my WinXP does not allow writes to the IO port. It does on 98, and i mistakenly thought it was working on XP as well. technically, I only need this to work on the manufacturing's Win98 machines, and now methinks the working C-code might be just fine af

RE: send output to a parallel port?

2005-07-20 Thread robert
> -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 ou

RE: send output to a parallel port?

2005-07-20 Thread Thad Schultz
- Original Message - From: "robert" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? > Hey all > > we have some devices at work that are controlled by sending signals via the > computer's parall

RE: send output to a parallel port?

2005-07-20 Thread robert
> -Original Message- > From: Sisyphus > Afaik a function declared as void would not return. it won't return a value, but it still has to go back to the caller. > Anyway, if it's that simple to do in C then it's also very > simple to achieve in perl, using Inline::C. thats interes

RE: send output to a parallel port?

2005-07-20 Thread Ken Cornetet
esday, July 20, 2005 3:55 AM To: robert; perl-win32-users@listserv.ActiveState.com Subject: Re: send output to a parallel port? - Original Message - From: "robert" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? >

Re: send output to a parallel port?

2005-07-20 Thread Sisyphus
- Original Message - From: "robert" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? > Hey all > > we have some devices at work that are controlled by sending signals via the > computer's parall

send output to a parallel port?

2005-07-19 Thread robert
Hey all we have some devices at work that are controlled by sending signals via the computer's parallel port. (because all the serial ports are being used elsewhere) the parallel port (LPT) has the address 0x378. to do this in C, its quite simple: void parallel_device (int state) { ou