-
D
Windows 7 GetCommState keeps failing with error ERROR_INVALID_FUNCTION
I am using a Windows 7 machine, and I am trying to follow the C++ example posted here: http://msdn.microsoft.com/en-us/library/aa363201(v=VS.85).aspx and I keep entering this if statement fSuccess = GetCommState(hCom, &dcb); if (!fSuccess) { // Handle the error. printf...- Dwigt
- Thread
- c++ dcb error handling error_invalid_function getcommstate getlasterror programming serial communication windows 7
- Replies: 1
- Forum: Programming and Scripting