PORTS Forum

Ports and Interfaces => USB => Topic started by: dlelievre on January 25, 2013, 02:48:22 pm

Title: Bulk Transfer using VB6
Post by: dlelievre on January 25, 2013, 02:48:22 pm
Two years ago with Jan's help I successfully managed to get USB control transfers between a PIC 18F4550 and a PC with VB6. Now I have a need to use bulk transfers to enable transferring data at high speed to a flash device. I notice that Jan's latest winUSB_lvr code now supports this bulk transfer. I have this code all installed and compiling. However can anyone help with code examples to implement the bulk transfer from VB6 code. As I said before I have the VB6 code all installed and working for control transfers.
Any help would be gratefully appreciated
Dave


Title: Re: Bulk Transfer using VB6
Post by: Jan Axelson on January 25, 2013, 04:38:40 pm
My WinUSB code for VB .NET is a starting point. Take a look at the declarations and function calls for the WinUSB functions.

I still have a VB6 example on my HID page though I haven't looked at it for some time:

http://janaxelson.com/hidpage.htm

I'm far enough removed from VB6 that I have no specific advice on converting back to VB6 syntax.