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 have the files on my machine. But I don't know where to include .bmp files. I have tried putting them on the folders that are included on the vc++ directories but that didn't work.
Now, what could the probable causes be that a compiler fails to find files? Care to take a guess?
- That you don't have any files with that name on your hard drive? - That you have the files, but that you haven't instructed the tool to process that specific directory? - That you have the files, but have specified any access rights that forbidds the compiler from accessing them (not too common problem on Win32 machines)
So, time for you to start figuring out why you get these error messages, since we can not guess what files you have in your machine or where they are stored or where you have allowed the compiler to search...
Tsuneo, these are the errors I get... Do you know what could cause this?
D:\WINDDK\3790.1830\inc\mfc42\afxres.rc(152) : error RC2135 : file not found: res\help.cur D:\WINDDK\3790.1830\inc\mfc42\afxres.rc(171) : error RC2135 : file not found: res\3dcheck.bmp D:\WINDDK\3790.1830\inc\mfc42\afxres.rc(194) : error RC2135 : file not found: res\minifwnd.bmp D:\WINDDK\3790.1830\inc\mfc42\afxres.rc(199) : error RC2135 : file not found: res\ntcheck.bmp D:\WINDDK\3790.1830\inc\mfc42\afxres.rc(200) : error RC2135 : file not found: res\95check.bmp
I don't want to take the trouble to port the code to another development platform, but if it has much meaning for you, these are the point.
- The code is written for MS VC++ with MFC - The code requires HID and SetupDi- header files and library
I've heard recent C++ builder supports MFC, but not sure. Ask it on this forum,
borland.public.cppbuilder.ms_compatibility groups.google.com/.../topics As of HID and SetupDi- header files and library, Officially, these files are included in WinDDK. Free WinDDK (Server 2k3 SP1 DDK) is downloaded from MS
"DDK - Windows Driver Development Kit" from MS WHDC www.microsoft.com/.../default.mspx Find "Download the Windows Server 2003 SP1 DDK [236 MB ISO file]" link
OR
On the Intel Press site for the book, "USB Design by Example", you'll find an excerpt of HID files from Win2K DDK. :-)
FromDDK.zip www.intel.com/.../FromDDK.htm
Tsuneo
View all questions in Keil forum