d3d with dinput

Started by
3 comments, last by LinX 22 years, 5 months ago
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.
Advertisement
Hmm, you''re not trying to use a IDirect3D8 object in the DirectInput8Create function, or something?
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
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 ?
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

This topic is closed to new replies.

Advertisement