RS232 port programming issue
Please help me to solve the following trouble.
I want to write an application to send and receive data through com port.
I am using VC++ .Net 2003 for creating this MFC application.
I write a Function to write data on com port as follows.
WriteFile() function returns 0, that means it has failed.
and GetLastError returns 997, i.e. I/O pending, but in this situation dwWritten in GetOverLappedResult() is still giving me the exact no. of bytes written.
Thus I am not able to send data. Plz help
|All times are GMT +5.5. The time now is 03:49.|