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
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.