   DirectInput8Create()
  try as i might, i cannot get this statement to work.if (FAILED(DirectInput8Create(main_instance,DIRECTINPUT_VERSION,IID_IDirectInput8,(void**)lpdi,NULL)))return(0);i just don''t know whats up i have tried to fixit but it wont workthe game compiles and runs but it fails in that statement.yes i have included all the proper libraries and headres. yes i tried chanching the error handling. pleese help.    X4J  
  Hi! Good news: Just yesterday I had exactly same problem and I fixed it completely myself!Bad news: I don''t remember anymore what I did.Anyway, let''s give it a try:You should really check that you have all the lib-files with you (I am using dinput.lib & dinput8.lib). Oh yeah, this is very important!!!!! #define INITGUID#include ^----- Put those lines before ANY OTHER CODE! Yes! I think that was it. Say if it still doesn''t work and i''ll check more of my code. Hope this helps. Bye!  ;  Oh strange.... In case you cannot see those lines here they are again:#define INITGUID#include   ;  are you linking dxguid.lib ?    HHSDrum@yahoo.com Polarisoft Home Page;  Oh strange.... In case you cannot see those lines here they are again:#define INITGUID#include objbase.h with <>  ;  oh, i figured it outI Forgot the & in ,(void**)&lpdi,NULL))) X4J  