Tried various COM listings to read from the port - nuffing!
Well, not quite, on my old PC there is COM1 & COM2, COM2 works but not COM1. On my new PC there is only COM1 which does not show any chars read form the port.
Any information about why this is ?
John
Hi John
from my experience, this is what i can say :
InpOut32 is working absolutely reliable for acces of all kind of IO mapped registers.
i used it for parallel port reading / writing
and for some self designed hardware projects.
i did not and will not do any serial port stuff with it,
i won't write an interrupt handler for the serial port for win32,
cause this is already done by M$ and known as working...
see CreateFile("COM1", ...) stuff
what exactly is your need ?
if you want to set the level of handshake lines of the RS232,
it can easily be done with win32 API
if you remember, i have sent you a few (i guess 2) years ago an M$ sample
called mttty (multy threaded tty) which i ported to lccwin32
and improoved a little bit.
There you can look how to access all kinds of serial IO stuff.
best regards,
tiwag