Hello, I have bought the Keil development tool for mcb2148 and I'm trying to compile the HID client example that comes with it... However using borland c++ 6 I get lots of error messages. If anyone knows how to solve this please leave me a note. Thanks Doug
"Does anybody know a software to test my win application?"
Win application? Do you mean something like HID device emulator?
For HID device test, this app will work.
On Ms.Axelson's "The HID Page", SimpleHIDWrite www.lvr.com/.../SimpleHIDWrite3.zip
Tsuneo
"Also I can't get Tsuneo's idea of separating the software into blocks to work on bcb 6 with 64 byte reports, using 8 bit report works fine."
8 bit report? Isn't it 8 byte report?
Anyway, start with the working one. What do you change from the "8 bit" report to 64 byte one, the device side and the host side.
On the device I did exacly what you've said on another thread and on the host I changed the report sizes to 64 bytes.
I'd like to document everything I did to get the HID Client to build, all in one spot.
I have installed * Visual C++ 6.0 * Visual Studio C++ 2005 Express Edition * Windows WDK, my version is 6001.18002.
For my case, both versions of Visual C++ DID need to be installed. ================================ 1. INSTALL WINDOWS WDK To start off with, you need to download the Windows Driver Kit - WDK (formerly known as the DDK).
Follow the instructions under "show/hide steps." ", select include files, then you'll need to add:
C:\WinDDK\6001.18002\inc\ddk C:\WinDDK\6001.18002\inc\api C:\WinDDK\6001.18002\inc\mfc42
Under "library files," you'll need to add:
C:\WinDDK\6001.18002\lib\atl\i386 C:\WinDDK\6001.18002\lib\mfc\i386 C:\WinDDK\6001.18002\lib\wxp\i386 C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib
The last one is a Visual C++ 6.0 path. ================================ 5. Copy some resource files. I needed to copy some contents of the following VC++ path into my project directory
copy C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\Res\*.* c:\Keil\ARM\Utilities\HID_Client\res
================================ 6. Build and execute. ================================ Good luck.