How to use DInputDevice8 in a object ?

Started by
3 comments, last by SagaEterna 21 years, 10 months ago
I try to use on the DIrectInputDevice8 object in an other object. But when i try to read data (i use action mapping), i can not even acquire the device? can someone explain me?
sorry for my bad english, i like to eat frogg's legs :)
Advertisement
What''s the error code? What is your cooperative mode? Are you stepping through code in a debugger or is the program running when acquire fails?
---visit #directxdev on afternet <- not just for directx, despite the name
The Error message is E_INVALIDARG.

the error appear debug (step by step or running mode) and release.
And i try every cooperative mode.

the Device Object is OK (no erroneous pointeur).

when i use a simple struct (like in the SDK) it works fine.

and sorry for my bad english
sorry for my bad english, i like to eat frogg's legs :)
Try the debug runtime.
---visit #directxdev on afternet <- not just for directx, despite the name
OK i''ll try this.

Thanks.
sorry for my bad english, i like to eat frogg's legs :)

This topic is closed to new replies.

Advertisement