I've recently started tackling with managed DX as a part of my force feedback experiments. I downloaded a sample app (link) which is supposed to send some simple FF effects to a device, problem is that it hangs upon startup and MSVS debugger is clueless about this.
It hangs and starts to eat 100% CPU after a DirectInputWrapper.Initialize() function is called. I wonder if there's something wrong with my machine as the problem seems to be outside the app itself. I should point out that I have very limited knowledge of C# and my DirectInput isn't much better, so I might be missing something elementary.
Can anybody take a look at this or at least try to run it to see of it hangs on other machines too? I used MSVS 2010 Express to build and debug this thing. (I attached the file if you don't have an account on codeproject.com)
It hangs and starts to eat 100% CPU after a DirectInputWrapper.Initialize() function is called. I wonder if there's something wrong with my machine as the problem seems to be outside the app itself. I should point out that I have very limited knowledge of C# and my DirectInput isn't much better, so I might be missing something elementary.
Can anybody take a look at this or at least try to run it to see of it hangs on other machines too? I used MSVS 2010 Express to build and debug this thing. (I attached the file if you don't have an account on codeproject.com)