问题
I am interacting with a bill acceptor connected via serial in VB6 using the MSComm control. We're having some communication issues, and I have been tasked with using the Win32 API directly to interact with the serial port. I'm not quite sure where to begin. Any links, articles, or books would be greatly appreciated.
回答1:
Serial Port Communication: perform serial port I/O without using the Microsoft Comm Control component
回答2:
Richard Grier
- Book Visual Basic Programmer's guide to serial communications available from Amazon or direct from author
- Sometimes still active on the VB6 newsgroups - try asking there
来源:https://stackoverflow.com/questions/4929414/serial-port-programming-vb6-via-win32-api