Jump to content
  • Advertisement

Archived

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

Laurent

Weird behaviour: hr = pdidDevice->Acquire();

This topic is 5977 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 there, I am currently facing a really weird issue with DirectInput 8.1 I have developped a little 3d game using DirectX. It is based on the DirextX AppWizard framework, so far so good with the graphics and sound... The input stuff is lagely "inspired" from the donut sample with only slight customization. My release build works fine with keyboard and mouse, my debug build also works fine except when I run it into the VC++ debugger. It crahes in USER32 from pdidDevice->Acquire(); with a memory access violation in USER32. The debug output shows nothing helpful. All SDK samples work fine and I guess I am doing something wrong somewhere... This is really a pain because all debug sessions abort on the first attempt to gather input data. Any help greatly appreciated, thank you in advance. Laurent PS: I am using winxp, the latest dx 8.1 sdk and vc++ 6.0 sp5. No joystick. PPS: Source code of the game is available here : http://www.lafaqmfc.com/starshooter.htm Not the latest version, though. -- Laurent TESTUD -- http://www.lafaqmfc.com/ LaurentTestud@earthlink.net

Share this post


Link to post
Share on other sites
Advertisement

  • 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!