Original Post
Hey,
I seem to have a problem setting up Direct Input with Dev-C++. I have done everything according to the SDK, and yet I am getting linker errors. Everything seems to work fine until I get to here:
hr = lpMouse->SetDataFormat(&c_dfDIMouse);It keeps giving me this error:
undefined reference to `c_dfDIMouse'I am including the correct headers(d3dx8.h, Dinput.h) and have linked the correct libs(libdinput.a, libdinput8.a). Has anyone else had this problem, or know how to fix it? Thanks! CD Jesus is Lord!! [edited by - CD579 on October 13, 2003 5:38:17 AM]