Can anybody tell me what api's to use to communicate with the serial ports? A sample would be even more usefull.
Please Help
thanks
Printable View
Can anybody tell me what api's to use to communicate with the serial ports? A sample would be even more usefull.
Please Help
thanks
It's a more complicated than just using 15 api's. Some of the declarations for data types are wrong as well in the api viewer.
The very best suggestion is - find a copy of Dan Appleman's book 'Visual Basic Programmer's Guide to the WIN32 API'.
Chapter 21 on the CDROM has a 1000 line sample code hunk that does what you want. I'd post it here, but it's copyrighted material.