May 19, 2013, 11:28:16 pm
Login with username, password and session length
: SMF - Just Installed!
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
WinUSB and VB6
Topic: WinUSB and VB6 (Read 2303 times)
WinUSB and VB6
February 06, 2011, 12:12:51 pm »
Can't find any examples of VB6 using WinUSB for a vendor specific device. I would like my host to be a .exe program that does not require the .net framework and would like to stay with VB6 if possible. I have my project started and my board registers as a custom USB device when connected. I have been front to back in USB Complete fourth edition and can't seem to move forward at this point. I can't figure out how to set up VB6 with WINUSB.dll, it is there but I don't know how, of if I even can declare it.
Re: WinUSB and VB6
Reply #1 on:
February 07, 2011, 12:30:11 am »
As with VB .NET, you need to provide declarations for every function you call in the DLL.
I have a VB6 program for HIDs here:
This will show you the basic syntax for accessing functions in DLLs. You'll need to do something similar for WinUSB. My .NET declarations and function calls should also be of some use.
Please select a destination:
=> Serial Ports
=> Embedded Ethernet
=> Parallel Port
=> Other Interfaces
=> General Discussion
Powered by SMF 1.1.11
SMF © 2006-2009, Simple Machines LLC