regarding System Error Code 995
-
hi one and all, iam having a problem with accessing serial port in my pc. i have developed an application which access the serial port in VC++ 6.0.After configuring the Serial port to 115200, iam able to send the data to the com port using WriteFile().But, iam unable to receive the data from the com port through ReadFile() operation and i have checked the error by using GetLastError() and it is given as 995(system error code).Even though i have restarted my system several times,iam unable to debug. Please help me why this error is getting and how to fix this error? Thanks in advance Regards, Praveen
-
hi one and all, iam having a problem with accessing serial port in my pc. i have developed an application which access the serial port in VC++ 6.0.After configuring the Serial port to 115200, iam able to send the data to the com port using WriteFile().But, iam unable to receive the data from the com port through ReadFile() operation and i have checked the error by using GetLastError() and it is given as 995(system error code).Even though i have restarted my system several times,iam unable to debug. Please help me why this error is getting and how to fix this error? Thanks in advance Regards, Praveen
Could you post the relevant code? BTW this forum is about
C
omponentO
bjectM
odel technology [^], not about serial port communication.If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
hi one and all, iam having a problem with accessing serial port in my pc. i have developed an application which access the serial port in VC++ 6.0.After configuring the Serial port to 115200, iam able to send the data to the com port using WriteFile().But, iam unable to receive the data from the com port through ReadFile() operation and i have checked the error by using GetLastError() and it is given as 995(system error code).Even though i have restarted my system several times,iam unable to debug. Please help me why this error is getting and how to fix this error? Thanks in advance Regards, Praveen
C:\>net helpmsg 995
The I/O operation has been aborted because of either a thread exit
or an application request.Most likely it simply timed out. See
SetCommTimeouts
for information.DoEvents: Generating unexpected recursion since 1991
-
hi one and all, iam having a problem with accessing serial port in my pc. i have developed an application which access the serial port in VC++ 6.0.After configuring the Serial port to 115200, iam able to send the data to the com port using WriteFile().But, iam unable to receive the data from the com port through ReadFile() operation and i have checked the error by using GetLastError() and it is given as 995(system error code).Even though i have restarted my system several times,iam unable to debug. Please help me why this error is getting and how to fix this error? Thanks in advance Regards, Praveen
You can go through the link given below. Go through the details of each and every Read and Write functions. http://msdn.microsoft.com/en-us/library/ms810467.aspx[^] If you do not get the solution your queries are always welcome.
buntyrolln