• Advertisement
Sign in to follow this  

DirectInput Acquire

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

Hey, i have a problem with the InputController. Every time i use the Function "Acquire" my complete system hangs. (ca. 5seconds) Anyone know (solved) this problem? I cant find the cause. Cheers... Michael Sourcecode: dev_keyb = new Device(SystemGuid.Keyboard); dev_keyb.SetCooperativeLevel(form, CooperativeLevelFlags.Background | CooperativeLevelFlags.NonExclusive); dev_keyb.SetDataFormat(DeviceDataFormat.Keyboard); dev_keyb.Acquire(); // --> SYSTEM HANG <-- dev_mouse = new Device(SystemGuid.Mouse); dev_mouse.SetCooperativeLevel(form, CooperativeLevelFlags.NonExclusive | CooperativeLevelFlags.Background); dev_mouse.SetDataFormat(DeviceDataFormat.Mouse); dev_mouse.Acquire(); // --> SYSTEM HANG <--

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement