f



fatal error C1083: Cannot open include file: 'hidsdi.h': No such file or directory

I have copied somebodies code into my program, edited it and such so
that I can try and read any device connected to the computer via usb,
find if it has a generic or advanced driver and then load the driver
for the input device. All in all its so that a usb device such as a
joystick or 'other' can control an external piece of hardware.

I'm getting the above error. I have tried an awful lot of things to
resolve it. Please throw me suggestions, so that I can try them all
out! Thanks!

Code:
#include <hidsdi.h>

Solution one:
Added the DDK folder to Project Properties->Linker->Input->Additional
Dependencies

Solution two:
a) Added the hidsdi.h into the project folder, no avail.
b) Added the hidsdi.h into the project base folder, nothing again.

Solution three:
Added dependencies in Tools->Options->Projects->VC++ Directories->>
All tabs
0
nd
4/8/2009 3:46:05 PM
comp.win.nt.kernel-mode 2877 articles. 0 followers. mat.hieu (4) is leader. Post Follow

1 Replies
2420 Views

Similar Articles

[PageSpeed] 23

nd.wass@gmail.com wrote:

>I have copied somebodies code into my program, edited it and such so
>that I can try and read any device connected to the computer via usb,
>find if it has a generic or advanced driver and then load the driver
>for the input device. All in all its so that a usb device such as a
>joystick or 'other' can control an external piece of hardware.
>
>I'm getting the above error. I have tried an awful lot of things to
>resolve it. Please throw me suggestions, so that I can try them all
>out! Thanks!
>
>Code:
>#include <hidsdi.h>
>
>Solution one:
>Added the DDK folder to Project Properties->Linker->Input->Additional
>Dependencies

Come on.  Don't you know the difference between the compiler and the
linker?  hidsdi.h is an include file, included by the pre-processor.  It
goes in the pre-processor's dependencies.

Remember that you need to add the whole path.  That file lives in the DDK's
"inc\api" path.

>Solution two:
>a) Added the hidsdi.h into the project folder, no avail.
>b) Added the hidsdi.h into the project base folder, nothing again.

If you copy the file to your local folder, you need to change the include
to:
   #include "hidsdi.h"

The brackets in <hidsdi.h> specifically instruct the compiler to skip
looking in the current directory first.
-- 
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
0
Tim
4/9/2009 7:15:48 AM
Reply:

Similar Artilces:

c:\wx\include\wx\platform.h(85): fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Hi, I can compile the SAMPLES find after my VC .NET converts the .DSW over. I'm going to compile a hello world at http://wiki.wxwidgets.org/wiki.pl?Hello_World It worked the first time. I screwed up the project settings and now I get this error? c:\wx\include\wx\platform.h(85): fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory Any good links for me better understand all those project settings? -Thanks! John Doe schrieb: > Hi, > > I can compile the SAMPLES find after my VC .NET converts the .DSW over. > I&...

: fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
Dear All I am trying to import AMESim model in Simulink as S Function. But doing so, I am getting the following error: AMEcompile110.bat does a 64 bit setup Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools. Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. cl.exe -c -DWIN32 -DAMESIMULINK -I"C:\Programs\MATLAB/extern/include" -I"C:\Programs\MATLAB/simulink/include" -I"C:\AMESim\v1110...

fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
Hi I am new to Matlab and I am trying to mex .c files for the ADM1 model. I have the 64bit program and installed the Visio compiler. I did the mex -setup successfully but when I try to mex the .c files I get the following error message: >> mex adm1_DAE1.c adm1_DAE1.c adm1_DAE1.c(19) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory C:\PROGRA~1\MATLAB\R2010B\BIN\MEX.PL: Error: Compile of 'adm1_DAE1.c' failed. ??? Error using ==> mex at 208 Unable to complete successfully. Anyone have any ideas what the pro...

Fatal error C1083: Cannot open include file 'afxsock.h': No such file or directory
Hi there, I am porting my windows project from my desktop and my laptop. At my desktop, I can compile and run my project/application without any problem, while at my laptop, I got the following compilation error: Fatal error C1083: Cannot open include file 'afxsock.h': No such file or directory Visual C++ 2008 Express Edition is used for both cases. The two computers have virtually the same settings: My desktop runs Windows Vista Home Premium (2007), SP2 My laptop runs Windows Vista Ultimate (2007), SP2 Any idea for the fatal error? Thank you! --- news://fr...

fatal error C1083: Cannot open include file: 'ace/config-all.h': No such file or directory
ACE VERSION: 5.4.8 - HOST MACHINE and OPERATING SYSTEM: Windows XP Pro. Unknown version of winsock. - TARGET MACHINE and OPERATING SYSTEM, Windows XP Pro. - COMPILER NAME AND VERSION (AND PATCHLEVEL): MSVC++ 7.1. CONTENTS OF $ACE_ROOT/ace/config.h: $ACE_ROOT/ace/config.h has been created and it has the include file of conifg-win32.h. AREA/CLASS/EXAMPLE AFFECTED: The file "config-all.h" doesn't compile. The line #include "ace/config.h" Generates the error message: .../ace/config-all.h(19) : fatal error C1083: Cannot open include file: 'ace/config.h': No such file or directory DOES THE PROBLEM AFFECT: COMPILATION? yes LINKING? no EXECUTION? yes OTHER (please specify)? SYNOPSIS: I have built and installed ACE + TAO and I have used the examples and they are working fine. I have created directory of the ACE_ROOT and I'm trying to Build my workspace, the idl compile fine but when I compile the all project it gives me the error mentioned above that it cant open the ace/config-all.h. I have add all the envornmenet variables that mentioned in the ACE-INSTALL to my system. I dont know what else I need to do? I would really appreicate it if someone can help me out here. With all respect, I'm new to this and I need to learn. Thank you all. Samer S. Issa Hi Samer, Have you added $ACE_...

[ace-users] Re: fatal error C1083: Cannot open include file: 'ace/config-all.h': No such file or directory
Hi, Make sure you set ACE_ROOT to the location of ACE (for example c:\ace\ace_wrappers) and then restart the IDE, the IDE caches all environment variables after being started. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Samer S. Issa" <issa.samer@gmail.com> wrote in message news:<1138270579.069801.255530@z14g2000cwz.googlegroups.com>... > ACE VERSION: 5.4.8 > > - HOST MACHINE and OPERATING SYSTEM: > Windows XP Pro. Unknown version of winsock. > > - TARGET MACHINE and OPERATING SYSTEM, > Windows XP Pro. > - COMPILER NAME AND VERSION (AND PATCHLEVEL): > MSVC++ 7.1. > > CONTENTS OF $ACE_ROOT/ace/config.h: > $ACE_ROOT/ace/config.h has been created and it has the include > file of conifg-win32.h. > > AREA/CLASS/EXAMPLE AFFECTED: > The file "config-all.h" doesn't compile. The line > > #include "ace/config.h" > > Generates the error message: > > ../ace/config-all.h(19) : fatal error C1083: Cannot open include file: > 'ace/config.h': No such file or directory > > DOES THE PROBLEM AFFECT: > COMPILATION? yes > LINKING? no > EXECUTION? yes > OTHER (please specify)? > > SYNOPSIS: > I have bui...

fatal error C1083: Cannot open include file: 'complex.h'
Hi, I'm trying to compile C code in matlab 7.7.0 R2008b on a Vista 64 bit system using Visual Studio C++ 2008 Express edition. And I'm getting the error: C:\PROGRA~1\MATLAB\R2008B\TOOLBOX\PACKAG~1\EMDS\SRC\cemdc.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory If I go looking for this file in my Visual Studio include folder I can not find it. I only see a file named complex. I have already tried to rename it too complex.h, but than I get a bunch of cmath errors like the ones below: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\cmath(21) : error C2143: syntax error : missing '{' before ':' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\cmath(21) : error C2059: syntax error : ':' Any ideas how I can fix this and get this code to work? Thanks. Kind regards, Nick Having the same problem. I understand that complex number support in C is only available in C99 compliant compilers, and that MVSC is NOT C99 compliant. Ofcourse this is available in the C++ libraries. However, Lcc (which is the default C compiler shipped with Matlab) claims to be C99 compliant, but also throws up this error (can't open 'complex.h'). Have tried various variants (#include <complex.h>, #include "complex.h",# include <complex>, ...) to no avail. Can anyone else shed any light on this? Bobane "Nick Snels" <snels@yahoo.com> wrote in...

Error Installing 'termios' [ld: fatal: file crt1.o: open failed: No such file or directory]
I would greately appreciate any insite that can be provided: gem install termios Attempting local installation of 'termios' Local gem file not found: termios*.gem Attempting remote installation of 'termios' Building native extensions. This could take a while... /apps/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:290: warning: Insecure world writable dir /apps/ruby, mode 040777 /apps/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:301: warning: Insecure world writable dir /apps/ruby, mode 040777 ld: fatal: file crt1.o: open failed: No such file or directory collect2: ld...

Gui having an 'open file window' and a 'save file window'
Is it possible to click on a button in the gui and have a Windows-like window where I can select the file to open and another like when you click on 'save as'? Thank you very much nathaniel zoso wrote: > Is it possible to click on a button in the gui and have a > Windows-like window where I can select the file to open and another > like when you click on 'save as'? > > Thank you very much Check out the UIGETFILE and UIPUTFILE functions, respectively. -SteveSimon ...

Diff between opening files in 'r' and 'r+' mode
i want to know the difference between 'r' mode and 'r+' mode 1=2Ei =3D open('c:\python25\integer.txt','w')-------->for writiing i.write('hai')--------->written some content in text file i =3D open('c:\python25\integer.txt','r')---->for reading print i.read()---->for printing the contents in that text file i =3D open('c:\python25\integer.txt','w')---------->for writing i.write('how')-----------?Rewrite the contents print i.read() [MY QUESTION]:i want to read the text file contents cant it ...

'cat file' but only if 'file' exist
I'm trying to run 'cat *.x' only if *.x files exist. What is the cleanest way of doing this? I'm doing it by shopt -s nullglob for i in *.x; do cat $i; done but this is aweful typing. -- William Park, Open Geometry Consulting, <opengeometry@yahoo.ca> No, I will not fix your computer! I'll reformat your harddisk, though. On 2004-06-09, William Park wrote: > I'm trying to run 'cat *.x' only if *.x files exist. What is the > cleanest way of doing this? I'm doing it by > shopt -s nullglob > for i in *.x; do cat $i; done > but this is aweful typing. set -- *.x [ -f "$1" ] && cat -- *.x -- Chris F.A. Johnson http://cfaj.freeshell.org/shell =================================================================== My code (if any) in this post is copyright 2004, Chris F.A. Johnson and may be copied under the terms of the GNU General Public License 2004-06-9, 06:26(+00), William Park: > I'm trying to run 'cat *.x' only if *.x files exist. What is the > cleanest way of doing this? I'm doing it by > shopt -s nullglob > for i in *.x; do cat $i; done > but this is aweful typing. zsh -c 'cat ./*.x' With bash: shopt -s nullglob files=(./*.x) if (( ${#files[@]} > 0 )); then cat "${files[@]}" else printf >&2 '%s\n' "${0##*/}: no *.x files" false fi You could also do: c...

Unable to open include file 'stdio.h'
Hey there! First of all forgive me if this question has already been asked and answered, if it has can you direct me to the posting, I would really appreciate that! I have just installed Borland's C/C++ compiler and going to the First C Tutorial in About. com, I typed in the program and went to compile it. When I did I got the following Error messages: Error E2209 hello.cpp1: Unable to open include file 'stdio.h' Error E2268 hello.cpp4 Call to undefined function 'printf' in function main() I was wondering if someone can inform me as to what I am doing wrong and how...

error 'open file with file path'... i would like dialog and come back..
Hi Guys, &nbsp; I would like to put any dialog when i pull any bottom, which directly execute opening diferents files from path... but certains files doesnt exist with this extension... Therefore i would like when i push bottom and try open the files, when it doesnt find the name from path,&nbsp;show any dialog window telling ' the file doesnt exist' and push ok, and come back to the main window ... closing the current little window... &nbsp; I attached one picture. &nbsp; Another problem, if when i save one file test from numbers on columns, certain values are higher t...

matlab complier, Cannot open include file: 'mclmcrrt.h'
Hi guys, I was trying to use matlab compiler to compile m file to c++ file. We created the new h file, but we got error msg as follows. Cannot open include file: 'mclmcrrt.h': No such file or directory Is there anyone bumped into this kind of error before? Any suggestion will be apprciated. Thanks a lot!! Lily "Ying Li" <liyingapply@hotmail.com> wrote in message <i4o8k1$mk6$1@fred.mathworks.com>... > Hi guys, > > I was trying to use matlab compiler to compile m file to c++ file. We created the new h file, but we got error msg as follows. > > Cannot open include file: 'mclmcrrt.h': No such file or directory > > Is there anyone bumped into this kind of error before? Any suggestion will be apprciated. Thanks a lot!! > > Lily Did you ever find a solution to this problem. I'm having the same problem with MATLAB R2010b and Visual Studio 2008. You should copy your mclmcrrt.h file located in : Program Files (x86)/MATLAB/MATLAB Compiler Runtime/vXXX/extern/include into your MVS working directory project ...

[tao-users] Cannot open include file: 'stdint.h'
TAO VERSION: 1.4.1 ACE VERSION: 5.4.1 HOST MACHINE and OPERATING SYSTEM: Windows XP TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): VS 7.1.3088 AREA/CLASS/EXAMPLE AFFECTED: None DOES THE PROBLEM AFFECT: COMPILATION? Yes The $ACE_ROOT/ace/config.h contents: #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #include "ace/config-win32.h" LINKING? No EXECUTION? No OTHER (please specify)? SYNOPSIS: fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory DESCRIPTION: Compiling the taoace.sln: The compiler...

Errors while file uploading thr 'net/http' or 'rest-open-uri' client
[Note: parts of this message were removed to make it a legal post.] I am trying to upload a file to API thr the 'net/http' or 'rest-open-uri' client, the code I have done is require 'rest-open-uri' require 'uri' require 'cgi' require 'net/http' require 'net/https' require 'mime/types' username="XXXXXXXXXXXXXXXXXXXXXXX" password="XXXXXXXXXXXXXXXXXXXXXX" def form_encoded(hash) encoded = [] hash.each do |key, value| encoded << CGI.escape(key) + '=' + CGI.escape(value) end return encoded.join(&...

LINK : fatal error LNK1104: cannot open file 'yprime.mexw32'
Hi Everyone, I would like to use matlab compiler to convert matlab code to c/c++ code, but I found the error when I try to setup MEX : >> mex yprime.c LINK : fatal error LNK1104: cannot open file 'yprime.mexw32' C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: Link of 'yprime.mexw32' failed. Error using mex (line 206) Unable to complete successfully. Here, I use Matlab R2011b and Visual Studio 2010 Ultimate included with SDK 7.1. Thanks in advance "lina " <livangellista@yahoo.com> wrote in message <jhe7fb$htg$1@newscl01ah.ma...

LINK : fatal error LNK1104: cannot open file 'z.lib'
I use cmake to create makefiles for a C++ project. One of the target links is just called 'z': TARGET_LINK_LIBRARIES(z ... When I try to compile the code I get: LINK : fatal error LNK1104: cannot open file 'z.lib' I have tried to download zlib for windows and point to the zlib .lib files from VS 2008 but that is not what it want. What is 'z'? mlt wrote: > I use cmake to create makefiles for a C++ project. If you have a problem with cmake, why not ask the cmake folks? There's a mailing list, from what I gather at http://www.cmake.org/ma...

LINK : fatal error LNK1104: cannot open file 'wxmsw28ud_stc.lib'
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal error LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in the my source directory. I hope someone can help me many thanks before Hidayat __________________________________________________ Apakah Anda Yahoo!? Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam http://id.mail.yahoo.com dayat wrote: > Hi, I'm newbie wxWidgets on windows. How ...

Fatal Error LNK 1104: Cannont Open File 'glut32.lib'
Hi all, I have Visual C++.NET 2003 in my Windows XP Pro PC. I executed the attached OpenGL program "POINTSZ" and I got a fatal error LNK 1104: Cannont Open File 'glut32.lib'. Please help and advise me how to solve this problem. Thanks in advance, Scott Chang //////---POINTSZ.C---////// // Pointsz.c // OpenGL SuperBible, Chapter 4 // Demonstrates OpenGL Primative GL_POINTS with point size // Program by Richard S. Wright Jr. #include "../../Common/OpenGLSB.h" // System and OpenGL Stuff #include <math.h> // Define a constant for the value of PI #def...

Can't open #include file: 'hbclass.ch'
Tengo un archivo fasapos.sh con la siguiente instrucci=F3n: ../../../xharbour/bin/harbour ./../../Des/pos_v313.070/Source/fgeneral - n -I./../include -I./../../xharbour/include el problema es que si lo ejecuto como archivo de comandos me da el siguiente error: xHarbour Compiler build 0.99.71 (SimpLex) Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org= / Compiling './../../Des/pos_v313.070/Source/fgeneral.prg'... ../../include/FiveLinux.ch(4) Error F0028 Can't open #include file: 'hbclass.ch' Ahora si ejecuto la instrucci=F3n directamente en el te...

[ace-bugs] fatal error LNK1181: cannot open input file 'Test_Output.lib'
--001a11c37b3c6e64fa04da44c5e6 Content-Type: text/plain; charset=ISO-8859-1 ACE VERSION: 6.1.8 OPERATING SYSTEM: Windows 7 COMPILER NAME: Visual Studio 2012 AREA/CLASS/EXAMPLE AFFECTED: DOES THE PROBLEM AFFECT: The problem affects linking. SYNOPSIS: Half will compile, and the other half will fail because of a link error: "fatal error LNK1181: cannot open input file 'Test_Output.lib'" DESCRIPTION: REPEAT BY: 1. download the latest version of ACE 2. create the config.h file with the text "#include "ace/config-win32.h" in the ACE_ROOT/ACE directory. 3. open and convert ace_v10.sln to visual studio 2012 4. build the solution SAMPLE FIX/WORKAROUND: [If available ] --001a11c37b3c6e64fa04da44c5e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>=A0=A0=A0 ACE VERSION:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 6.1.8<br>=A0=A0=A0 OPERATING SYSTEM:=A0=A0=A0=A0= =A0=A0=A0 Windows 7<br>=A0=A0=A0 COMPILER NAME:=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 Visual Studio 2012<br><br>=A0=A0=A0 AREA/CLASS/EXAMPLE AFFECTE= D:=A0 <br><br>=A0=A0=A0 DOES THE PROBLEM AFFECT:<br> </div><div>=A0=A0=A0=A0=A0=A0=A0 The problem affects linking.<br></div><div= ><br>=A0=A0...

``awk '!a[$0]++' file'' and ``awk '{if(!($0 in rec)) {rec[$0]=1; print $0;}}' file ''
Hi all, Currently, I'm reading the book on awk programming language, but meet the following two examples which I cann't understand so well: awk '!a[$0]++' file and awk '{if(!($0 in rec)) {rec[$0]=1; print $0;}}' file Could someone here please give me some hints or explanations on the logic of above codes? Regards -- ..: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. In article <meuejm$gsf$1@aspen.stu.neva.ru>, Hongyi Zhao <hongyi.zhao@gmail.com> wrote: > Hi all, > > Currently, I'm reading the bo...

'+<' mode for opening files
Greetings. I am attempting to understand what is the use of opening files for both reading and writing. I have read both perldoc -f open and perldoc perlopentut but I am confused. The above documentation refers to using '+<' mode as 'updating', and suggests -i is a better alternative. That's all well and good, but I would still like to understand what specifying a mode of '+<' actually *does*. For example, a sample input file contains the five lines: 1 2 3 4 5 Executing the following script: #!/usr/bin/perl use strict; use warnings; open my $fh, '+&l...

Web resources about - fatal error C1083: Cannot open include file: 'hidsdi.h': No such file or directory - comp.win.nt.kernel-mode

Resources last updated: 3/10/2016 5:01:20 AM