DirectX and DirectInput Mouse

Started by
1 comment, last by Mosselmaniac 20 years, 11 months ago
Hi all, I''m using DirectX7 and i want to use DirectInput to capture the mouse X and Y. This is working for me when i use DirectX8. When i use directx7, when i acquire the mouse it gives me an error that i''m not allowed to do that action or something like that.. What to do? How come? Thanks
Advertisement
It is quite hard to tell you what to do when you don''t tell us what you have done. Are you sure the device is not NULL when you call the Acquire() method i.e. have the device initialization succeded?

Some source whould help...


____________________ ____ ___ __ _
Enselic''s Corner - CodeSampler.com
[s]--------------------------------------------------------[/s]chromecode.com - software with source code
I''m moving the thread to the DirectX forum. This has nothing to do with math or physics.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net

This topic is closed to new replies.

Advertisement