We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Something curious is happening with my USB HID device.
It is a Full-speed Device. The curious thing is that my VB software transfers 64 bytes of data (EP0 CONTROL TRANSFER) to the device only one time each 05 SOF signals of the USB line. So, instead of 64 KB/s I am only having 64/5 Kb/s data transfer rate.
I have even set my VB software to run in High priority mode - So it has nothing to do with Windows priorities.
Would anyone have a clue how I can increase the data transfer rate ?
HI, Tsuneo,
Something funny is happening with my VB application that controls the HID device.
When I run the software fom within the visual studio 6, it works fine and talks to the device, both in XP and windows 7.
After compilation, the .exe runs OK in wondows 7, but not in XP. In XP it issues no errors, but does not send messages to the HID Device.
It seems to me it is something abou the registration of the .dll in wondows. I am using the VB code from JAN AXELSON so I have tried to register (Using regsvr32) the .OCX and .DLL. The HID.DLL and setupapi.DLL isues and error (Entry point not found) and does not register.
Have you ever experienced anything like that ?
Antonio
Maybe, your distribution is missing some DLL (or OCX) required.
Run Dependency Walker on the target PC for your application EXE. It tells missing DLL, if any.
Dependency Walker www.dependencywalker.com/
See VB6 manual at the chapter of packaging for deployment, to make setup project.
Distributing Your Applications - VB6 msdn.microsoft.com/.../aa716256(VS.60).aspx
Tsuneo