Jump to content
  • Advertisement

Archived

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

cruiz

DXINPUT8Mouse! Need help! Noone helps!

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

Hi people! This is the X post of me that I need help. Please people Help me. I think a lot of you are professional programmers and can help me in so a n easy problem... It''s still my DXINPUT8Mouse problem. If I start the programm it brokes down. I have DXINPUT8Keyboard and it works fine. The init and the mousesource I copied now to see if my source is wrong. Because that it should be OK. The libraries are OK, too. A question would be where should I start my Mouseloop? Can I put it in my MainLoop? For example: Draw(); Keyboard(); Calculate(); Mouse(); ?? Is this the reason it brokes down? Please people i don''t knwo what it could be if it isn''t that. I have tried it in the EXCLUSIV and in the NONEXCLUSIV mode. It would be good if you post also if you have the same problem or so. Thanks to all responses: C.Ruiz P.S.: I write it all times but I''m sorry for my bad english. I''m still learning it!

Share this post


Link to post
Share on other sites
Advertisement
What do you mean when you say it breaks down? Does it crash? If so, where does it crash and with what error?

Can you provide a snippet of code where it does crash?

Share this post


Link to post
Share on other sites
Two kinds of errors:
a) he shows my themepicture and doesn''t respond.
Only way to come out: Reset!

b) he shows me a white background and sounds me
a windows "ding" i can go out with combination
of keyboard. I have tried to comment the error.
He brakes down if he starts GETMOUSESTATE or so.
The important place of code!!!

I have no more information about this error.
The debugger can''t give me informations because
I can''t see it! (Fullscreen)

Can it be a Problem with another Piece of DX?
For example an interferience with DDraw or something
like that?
C.Ruiz

Share this post


Link to post
Share on other sites
Not an exact reply but you will be advised to make your project able to run also in windowed mode for debug purpose. (changing just one variable or using an external *.ini or *.cfg file)
You mouse trouble isn''t the last one you encounter and while running always in fullscreen you will not be able to debug anything.

Programming a game without debuging even if not critical error is IMPOSSIBLE.

Dan

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!