Windows Vista Vista Services USB Problem

Discussion in 'Programming and Scripting' started by eginez, Jul 29, 2008.

  1. eginez

    eginez New Member

    Joined:
    Jul 29, 2008
    Messages:
    4
    Likes Received:
    0
    I created a service that transfers data to/from the USB The service runs smoothly on Win XP and if i run it as an app in Vista is works OK, but ran as a service in Vista the Reads and Writes to the USB fail with ERROR_IO_PENDING.

    My app seems to be frozen because the threads are waiting on the Read and Write rountines to finish, if I forcefully time the routines out, I get a ERROR_IO_PENDING.

    The connect to the USB no problem but sending/recieving data from it won't work

    Thanks for your help
     
  2. Celestra

    Celestra Former Moderator

    Joined:
    Jan 15, 2008
    Messages:
    2,468
    Likes Received:
    14
    Hi!! Have you tried posting in MSDN "Visual C++General" ? They probably can give you a better answer. Have you thought of a Driver Problem?
     
  3. eginez

    eginez New Member

    Joined:
    Jul 29, 2008
    Messages:
    4
    Likes Received:
    0
    yes I did try posting at the MSDN forum, no answer yet, I don't think it's a driverproblem since I am using the standard HID driver
     
  4. Celestra

    Celestra Former Moderator

    Joined:
    Jan 15, 2008
    Messages:
    2,468
    Likes Received:
    14

Share This Page

Loading...