19 years, 4 months ago
Highlights
It's very dangerous to use memcmp to compare two structures, especially if they're large. The problem has to do with how structures are laid out in memory. Assuming for the mome…
19 years, 4 months ago
19 years, 5 months ago
I have an LPDIRECTINPUTDEVICE8 object 'device', that I'm using to talk to a gamepad plugged into my computer. I can do almost anything I want with it: acquire it, set cooperatio…
19 years, 5 months ago
Well, it turns out that you can't call GetDeviceInfo() from within the EnumDevices () callback function. This isn't documented anywhere, and I can't see why it would be necessar…
19 years, 5 months ago
19 years, 6 months ago
Latest Activity
See all in DiscussionsIt's very dangerous to use memcmp to compare two structures, especially if they're large. The problem has to do with …
19 years, 4 months ago
Well, it turns out that you can't call GetDeviceInfo() from within the EnumDevices () callback function. This isn't documented anywhere, …
19 years, 5 months ago
I have an LPDIRECTINPUTDEVICE8 object 'device', that I'm using to talk to a gamepad plugged into my computer. I can …
19 years, 5 months ago