Hi,
i'm trying to set the serial port.(XP SP2, Visual Studio 2005). I use
the example code from MSDN "configurin g a communications resource".
CreateFile pass through, however GetCommState return 0.With
GetLastError(), i get the error number 87, which means
"ERROR_INVALID_ PARAMETER The parameter is incorrect. "
I'm sure the serial port works, because i can use another program to
read/write through it.
thx
Cheng
i'm trying to set the serial port.(XP SP2, Visual Studio 2005). I use
the example code from MSDN "configurin g a communications resource".
CreateFile pass through, however GetCommState return 0.With
GetLastError(), i get the error number 87, which means
"ERROR_INVALID_ PARAMETER The parameter is incorrect. "
I'm sure the serial port works, because i can use another program to
read/write through it.
thx
Cheng
Comment