Jump to content
  • Advertisement

Archived

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

LinX

d3d with dinput

This topic is 6060 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

hello whenever i use dinput with my d3d app it duzen works. i found out that e call to DirectInput8Create() fail. however if i disable all d3d stuff in my code..it works.. does anyone knows what could have caused this ? and how to solve it.. thanxs in advance.

Share this post


Link to post
Share on other sites
Advertisement
Hmm, you''re not trying to use a IDirect3D8 object in the DirectInput8Create function, or something?

Share this post


Link to post
Share on other sites
nope...however i can get it to work now
previosly i had put all stuff into a class n it wundn''t work but now i took all out and use them as plain funtions...wierd

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
hi..i hve another question here...
i''m tryin to get the screen position of the mouse here n i was wondering where the initial position of the mouse be ? e center of screen ?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Anonymous Poster
hi..i hve another question here...
i''m tryin to get the screen position of the mouse here n i was wondering where the initial position of the mouse be ? e center of screen ?



by e wae i m getin the mouse coord by relative.tanks

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!