I tried the example at
www.lvr.com/winusb.htm. I got the project to compile easily enough, but, after putting the program on the board and resetting the board, it doesn’t work! Nothing seems to happen on the board. I’m using Windows XP, and the PICDEM board referenced in the readme. Windows doesn’t seem to notice a USB device on the port. I’m using the Windows driver SDK (which has USB VIEW) to monitor the USB ports.
The reason I even found this project is because I had the same problem with other examples that came on the CD with the PICDEM board. The DEMO program works (via usb) and turns on LEDs, and reads from the on-board potentiometer, etc., but that’s the only USB program I can get to work. Please let me know if you can think of a suggestion (anything, really!), or if you need more information.