Sunday, August 2, 2009

Visual C++ Express 2008 progamming to include hid.h and hidsdi.h?

here is part of my code





extern "C" {





#include "hid.h"





#include "hidsdi.h"





#include "process.h"





#include %26lt;setupapi.h%26gt;





#include %26lt;initguid.h%26gt;





}





this is the error i get during compile:


|| Cannot open include file: 'hid.h': No such file or directory ||


i already have windows DDK installed.. how do i solve this problem?? do i add the directory of the headers file?? or add the library of the hid files to the linker??

Visual C++ Express 2008 progamming to include hid.h and hidsdi.h?
have you setup include directories and lib files in vc++?? if not here is a link that teaches you how to setup vc++ express edition 2005.. i hope setting up 2008 is also similar. Also Remove the inverted commas and use angular brackets because inverted comma limits the searching of files within one particular path...you have to add the path of the hid.h file to the include path list in tools-%26gt;options-%26gt;(on the left pane) projects and solutions-%26gt;vc++directories-%26gt;(on the right pane show directories for include files)-%26gt; and add the folder in which hid.h is present...


No comments:

Post a Comment