MFC add game handle a lot of mistakes, "dinput" have been added to the
Deleting intermediate files and output files for the project 'JoystickDemo - Win32 Debug.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- the Configuration: JoystickDemo - Win32 Debug -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The Compiling resources...
Compiling...
StdAfx. CPP
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ stdafx h (23) : warning C4005: 'STRICT' : macro redefinition
C: \ program files \ Microsoft visual studio (x86) \ vc98 \ MFC \ include \ afxv_w32 h (19) : see previous definition of 'STRICT'
Compiling...
DIJoystick. CPP
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (86) : error C2146: syntax error: missing '; 'before the identifier' m_lpDI '
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (86) : error C2501: 'LPDIRECTINPUT7: missing storage - class or type specifiers
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (86) : error C2501: 'm_lpDI: missing storage - class or type specifiers
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (87) : error C2146: syntax error: missing '; 'before the identifier' m_lpDIDevice '
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (87) : error C2501: 'LPDIRECTINPUTDEVICE7: missing storage - class or type specifiers
C: \ users \ \ administrator \ desktop \ 1 joystick_demo \ dijoystick h (87) : error C2501: 'm_lpDIDevice: missing storage - class or type specifiers
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (96) : error C2065: 'DirectInputCreateEx: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (97) : error C2065: 'IID_IDirectInput7: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (97) : error C2065: 'm_lpDI: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (151) : error C2065: 'm_lpDIDevice: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (157) : error C2227: left of '- & gt; Release 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (167) : error C2227: left of '- & gt; Release 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (202) : error C2227: left of '- & gt; EnumDevices' must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (354) : error C2227: left of '- & gt; Unacquire 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (361) : error C2227: left of '- & gt; Release 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (382) : error C2227: left of '- & gt; CreateDeviceEx 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (382) : error C2065: 'IID_IDirectInputDevice7: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (424) : error C2227: left of '- & gt; GetObjectInfo 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (498) : error C2227: left of '- & gt; SetProperty 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (510) : error C2227: left of '- & gt; SetProperty 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (515) : error C2227: left of '- & gt; SetProperty 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (521) : error C2227: left of '- & gt; GetCapabilities' must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (536) : error C2227: left of '- & gt; SetProperty 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (564) : error C2227: left of '- & gt; Release 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (584) : error C2227: left of '- & gt; GetDeviceInfo 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (593) : error C2227: left of '- & gt; SetDataFormat 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (616) : error C2227: left of '- & gt; SetCooperativeLevel 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (638) : error C2227: left of '- & gt; SetProperty 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (677) : error C2227: left of '- & gt; Unacquire 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (684) : error C2227: left of '- & gt; Acquire 'must point to a class/struct/union
C: \ Users \ \ Administrator \ Desktop \ 1 joystick_demo \ DIJoystick CPP (870) : error C2227: left of '- & gt; Poll 'must point to a class/struct/union
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull