• Advertisement

Archived

This topic is now archived and is closed to further replies.

How to use DInputDevice8 in a object ?

This topic is 5778 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement