These errors come from the debug spew:
DINPUT: SetCooperativeLevel: You really shouldn’t pass hwnd = 0; device
calibration may be dodgy
Why 0 is passed instead of the real window handl?
DINPUT: ERROR IDirectInputDevice::GetDeviceData: Not acquired
This probably comes out because the code does not check if the Acquire()
call does success, or fail. If Acquire() has failed, GetDeviceData/State()
should not be called, because the device cannot be read.
DINPUT: Dinput.dll: Unloaded before all objects Release()d! Crash soon
Some shutdown problems?
Thanks—
Giovanni Bajo
Lead Programmer
Protonic Interactive
www.protonic.net
- Black holes are generated when God divides by zero -