   dinput.lib???
  I just got directx sdk march 2008 from Microsoft and I don't seem to have dinput.libI do have dinput8.lib but from what I understand they are not the same.I'm trying to follow the tutorials at directxtutorial.com and #pragma comment (lib, "dinput.lib") causes problems.Any help on how I can get just that file or the smallest file size bundle if it isn't available alone?   
  Yeah, they're not quite the same, but I don't think there's so much difference that you couldn't get the code compiling pretty quickly.include dinput8.lib, then work on the errors from there :p   ;  The tutorial I'm following has me include both// include the DirectX Library files#pragma comment (lib, "dinput.lib")#pragma comment (lib, "dinput8.lib")#pragma comment (lib, "dxguid.lib")and commenting out the dinput.lib line gives me:error LNK2019: unresolved external symbol "void __cdecl initDInput(struct HINSTANCE__ *,struct HWND__ *)" (?initDInput@@YAXPAUHINSTANCE__@@PAUHWND__@@@Z) referenced in function _WinMain@16   ;  You probably  don't want to be using DirectInput anyway, unless you're planning on using it for joysticks.   ;  hmm so if i dont use Direct input then do i have to worry about turning off key repeat and turning off pointer acceleration? I'm making a game so those would be bad things to have on. Also I dont want there to be a difference between 'w' and 'W'. I want to be able to bind the shift key to things.   ;  Basically it's like this (for Windows XP and above, at least):  if you want standard GUI behavior for keyboard or mouse input, use the standard windows messages.  This will give you proper capitalization, proper multi-language support, and a cursor that behaves "like it's supposed to".  If you want the raw input (AK you just want to know how much the user moved the mouse for controlling an FPS camera, or just want to know what key on the keyboard was pressed) then use Raw Input.  All DInput does is process Raw Input messages, anyway.  Except the the nice thing is when you use Raw Input you can still use the standard messages when you need them, while with DInput you can't.   ;  Ok I've been reading about raw input on msdn and it looks way way more complicated then what i was doing with direct input. Anyone know of a good tutorial to start? I dont even know if I need buffered or unbuffered. Any help would be appreciated.   ;  You don't need buffered input in most cases.  As for Raw Input being complicated, it's actually less code to get running than DirectInput.  This code actually shows you equivalent code in DirectInput and using Raw Input so you can for yourself.  BTW that code should also get you 95% of thw way towards using Raw Input for a mouse.   ;  I haven't been having any luck1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(21) : error C2466: cannot allocate an array of constant size 01>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(21) : error C2143: syntax error : missing ';' before '.'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(21) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(21) : error C2371: 'Rid' : redefinition; different basic types1>   c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(20) : see declaration of 'Rid'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(22) : error C2466: cannot allocate an array of constant size 01>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(22) : error C2143: syntax error : missing ';' before '.'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(22) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(22) : error C2371: 'Rid' : redefinition; different basic types1>   c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(20) : see declaration of 'Rid'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(23) : error C2466: cannot allocate an array of constant size 01>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(23) : error C2143: syntax error : missing ';' before '.'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(23) : error C2371: 'Rid' : redefinition; different basic types1>   c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(20) : see declaration of 'Rid'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(24) : error C2466: cannot allocate an array of constant size 01>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(24) : error C2143: syntax error : missing ';' before '.'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(24) : error C2371: 'Rid' : redefinition; different basic types1>   c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(20) : see declaration of 'Rid'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(25) : error C2143: syntax error : missing ')' before ';'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(25) : error C2365: 'RegisterRawInputDevices' : redefinition; previous definition was 'function'1>   c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(12503) : see declaration of 'RegisterRawInputDevices'1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(25) : error C2078: too many initializers1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(113) : error C2046: illegal case1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\firsttest\firsttest\main.cpp(118) : error C2065: 'lParam' : undeclared identifierare there any samples where it's actually used in a full program so i can see what I'm doing wrong?   ;  When you're using the Windows API, you use version macros to specify the minimum version of Windows required to run your app.  The idea is that by specifying higher versions of windows, you get access to features only present in those higher versions.  Raw Input is one of those feature, since it was introduced in Windows XP.  The various macros used and the values for different windows versions can be found here.So in summary, you need to add this before you include windows.h:#ifndef WINVER#define WINVER 0x501#endif#ifndef _WIN32_WINNT#define _WIN32_WINNT 0x501#endif