Hi,
I am using the provided winusbdemo.inf in the winusb_vb folder and configured my uController to match the PID and VID. The driver works fine and same to the VB program too.
Next, I modified the PID, VID and DeviceInterfaceGUIDs information in the winusbdemo.inf. I too configured my uController to match the PID and VID. Now, the driver works fine but the program failed. Anything that I missed out?
Listed below are the modifications to the .inf file. Other information remains untouched.
Original winusbdemo.inf
[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{42CA71EC-CE1C-44c2-82DE-87D8D8FF6C1E}"
Modified winusbdemo.inf
[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0957&PID_A118
[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0957&PID_A118
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{400B501E-5A37-472D-B4A7-998BF4E9A7CD}"
Listed below is the modification to VB codes.
Original
Private Const WINUSB_DEMO_GUID_STRING As String = "{42CA71EC-CE1C-44c2-82DE-87D8D8FF6C1E}"
Modified
Private Const WINUSB_DEMO_GUID_STRING As String = "{400B501E-5A37-472D-B4A7-998BF4E9A7CD}"