I want to do it from the windows xp 2000, and yes your right the NT kernel block the io port, I have a little program to reverse it but i Have to uses it from computer computer to.....
I had to write a small program for work that would send out binary values to a controller from a serial port using c++ all you have to do is name the port and use the writefile() function, also you have to configure your port setting through the dcb block. Now about sending out the different voltages to equal a logic 1 or 0 i dont think you can do that directly from a i/o port on a computer but you could hook up a amplifier to the serial output to get the desired voltage.