Original Post
I get this message whenever I compile my project. Everything still seems to run fine though. Just wondering if something is wrong or if this is normal.
Compiling...
Object.cpp
WinMain.cpp
c:\dxsdk\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
Linking...
BounceTest.exe - 0 error(s), 0 warning(s)
As for as I can tell everything is done correctly. Is there anything wrong?
Quiggy.
HRESULT hr;
hr = (DirectInput8Create(hInst, DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&g_pDI, NULL));
if (FAILED(hr))
{
WriteToLog("ERROR initializing DirectInput8.");
return FALSE;
}