Asaf Shelly <> wrote:
>
>I am using WinUSB via a .Net component written in C#.
>Every first read I get error 1008 - ERROR_NO_TOKEN "An attempt was made to
>reference a token that does not exist". This happens only the first time I
>read after connecting the device.
>No information in the system event logs.
>The full source code is here:
>http://www.asyncop.com/MTnPDirEnum.a...nUSB+Component (see at the bottom)
That's the source code for the component, but not for the code in your app
that CALLS the component. That's what we need to see. Are you sure you
have the endpoint numbers right? Did you set the GUID in the component to
the GUID from your INF? What endpoints does your device have?
--
Tim Roberts,
Providenza & Boekelheide, Inc.