Advertisement

Serial Port Programming

Started by March 11, 2003 04:45 AM
0 comments, last by thgartung 21 years, 10 months ago
Hi Folks! There are two C-functions (getvect() and setvect()) to get and set an interrupt service routine. But these are only available in DOS. Is there a way (or some similar functions) to set an interrupt vector in Windows??? Thanx for your help Thorsten
quote:
Is there a way (or some similar functions) to set an interrupt vector in Windows?


No, there isn't. If you want to send information over a serial port you have to open, read, and write to it as if it were a file. The file name would be COM1, COM2, etc.

Check out this document on MSDN.

[edited by - mattb on March 11, 2003 7:39:44 AM]

This topic is closed to new replies.

Advertisement