Jan,
Your book, USB Complete, has been incredibly useful. Thank-you.
I have noticed the following anomaly. Perhaps you have some suggestion. I am using HID, sending from 18F4550 to PC, 8 byte interrupt input reports every 2.5 ms. Works pretty well. The windows OS gets around to servicing the buffer with typically 5-10 reports in the buffer, which is fine.
Each report contains a byte which is an ID number, so i can make sure all reports have arrived. Every now and again reports get dropped. Typically 1-3 consecutive reports. So, as an example of the problem, say the buffer has accumulated 9 reports, perhaps the first three would be fine, then there will be a couple of missing reports, and then the next 6 are fine. So, it behaves as if the PC USB receiver stops paying attention for short periods of time.
Now for the strange thing, I can make the problem worse/better, by turing the wireless network card on and off (this is actually how i first noticed the problem). With the wireless adaptor on, the dropped reports come in bursts which are spaced by 10-12 seconds and last for of order 1 second.
Clearly, the wireless network card is not related to the USB, but perhaps there is some sort of interrupt structure for which the wireless has priority over the USB hardware? Is that possible? Any thoughts?
p.s. I noticed a small logic error in IsWindows98Gold(), located in hid.cs
the code : if (MyEnvironment.Version >= Version98SE)
should be: if (MyEnvironment.Version <= Version98SE)