I downloaded the needed files from NeHe's website for DX(DirectInput, etc.). When I do:

#include <dinput.h>

// All the others

it won't compile and gives me this:

49 c:\dev-c_~1\include\objbase.h
from C:\DEV-C_~1\INCLUDE\dinput.h:17,
37 c:\dev-c_~1\include\unknwn.h
`com_interface' only supported with -fvtable-thunks


What is wrong?