Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. regarding System Error Code 995

regarding System Error Code 995

Scheduled Pinned Locked Moved COM
helpc++comdebuggingtutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pra84veen
    wrote on last edited by
    #1

    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 M B 3 Replies Last reply
    0
    • P pra84veen

      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 Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      Could you post the relevant code? BTW this forum is about Component Object Model 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

      1 Reply Last reply
      0
      • P pra84veen

        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

        M Offline
        M Offline
        Mike Dimmick
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • P pra84veen

          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

          B Offline
          B Offline
          buntyrolln
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups