Page 1 of 1

compile Hid-data host software by VC6?

Posted: Wed Feb 18, 2009 5:25 am
by yaya001
I compile hid-data host software by VC6, I had added the libusb-win32-device-bin-0.1.12.1 .
The compile is successful with no error and warning.
When I running compiled exe file, I get follow information:

Found 2 busses
Error finding DataStore: The specified device was not found.

But when I use the exe file complied by mingw, the communication between avr hardware and host soft ware well.
I can write and read to or from the hardware.

I have checked the host code. Found nothing wrong.

Please give me some suggestions.

I notice the Section BUILDING THE HOST SOFTWARE in readme file.

Window need DDK, I have not installed it. But why I compile with no error and warning.

Thank you very much.

Posted: Wed Feb 18, 2009 8:36 am
by yaya001
#if defined(WIN32) should be #if defined(__WIN32) in hiddata.c ??