Original Post
hello i've been trying to get DirectInput to work for a while, but to no avail. when i call DirectInput8Create() and it says syntax error 'constant', this is the code im using whats a matter with this code? thanks a bunch:-)
#ifndef directInput_h
#define directInput_h
#include <windows.h>
#include <dinput.h>
HRESULT result;
HRESULT WINAPI DirectInput8Create(HINSTANCE g_hInstance, DIRECTINPUT_VERSION, IID_IDirectInput8, LPDIRECTINPUT8 *pDirectInput, NULL);
#endif