Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
msdn.microsoft.com/en-us/library/system.io.ports.s...
msdn.microsoft.com/en-us/library/ff802693.aspx
All literature on msdn.microsoft.com
If there is no desire to bother with events, then you can do something like this:
CreateFile("COM0"...);
GetCommState();
Fill in the received DCB structure
SetCommState();
GetCommTimeouts();
Setting timeouts
SetCommTimeout();
Read and write to port via WriteFile and ReadFile
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question