Message from discussion
Trouble with hidpi.h from WDK, trying to use WiiYourself
Thread-Topic: Trouble with hidpi.h from WDK, trying to use WiiYourself
thread-index: AcozIoywy0KC9r2oQAym67CpLbFCEA==
X-WBNR-Posting-Host: 64.183.138.150
From: =?Utf-8?B?SHVza2Vy?= <Hus...@discussions.microsoft.com>
References: <47A02D78-D3E5-45CF-B45D-0C2537DFF0ED@microsoft.com>
Subject: RE: Trouble with hidpi.h from WDK, trying to use WiiYourself
Date: Fri, 11 Sep 2009 13:58:01 -0700
Lines: 21
Message-ID: <C9F6AB63-3076-4D45-83D4-BD1C8BDFE1AB@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
Newsgroups: microsoft.public.win32.programmer.kernel
NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
Path: g2news2.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!weretis.net!feeder2.news.weretis.net!TK2MSFTNGP01.phx.gbl!TK2MSFTNGHUB02.phx.gbl
I followed your posts in here and game developer as I was having the same
troubles. I was having all the same troubles. This is how I got my code to
compile and build:
WDK version 7600.16385.0
Windows 7 SDK (v7.0)
Visual Studio 2008 (haven't tried Express yet)
Used Jan Axelson's code (usbhidioc)
Ordered and added include files as instructed in gamedev.net. (SDK first and
WDK last)
I didn't add any headers like wdm.h or otherwise to the code, and I didn't
find success until I added the C:\WinDDK\7600.16385.0\lib\wxp\i386 to the end
of VC++ directories->Library Files. I'm assuming that the directory you
choose will be related to OS, as I am building for XP, I used wxp.
I hope this helps you and anybody else struggling with this issue.