You are right, of course, i just read :
"RAWINPUT is wrong (the fieldoffset(16)) because it wrongly assumes RAWINPUTHEADER being 16 bytes long on all platforms, while may be correct on 32 bit, it's 24 bytes on 64 bit. "
I'll try this as soon as i get home.
Thanks you
Search found 3 matches
- Fri Sep 19, 2008 12:34 pm
- Forum: Developer's Forum for Windows
- Topic: Problem with the WM_INPUT exemple
- Replies: 5
- Views: 12727
- Fri Sep 19, 2008 11:37 am
- Forum: Developer's Forum for Windows
- Topic: Problem with the WM_INPUT exemple
- Replies: 5
- Views: 12727
Hi, I didn't make any modification to the code. Im using the Space Navigator, O/S is Vista x64, and i compiled on VS2005. GetRawInputData() returns -1 everytime I displace the cap. I tried on Vista 32bit with the same hardware and its works. So i guess its a problem with the OS. Do you have any clue...
- Thu Sep 18, 2008 9:14 pm
- Forum: Developer's Forum for Windows
- Topic: Problem with the WM_INPUT exemple
- Replies: 5
- Views: 12727
Problem with the WM_INPUT exemple
Hi,
When i run your WM_INPUT exemple, GetRawInputData() fails on line 142 in WM_INPUTExample.cpp. The WM_INPUT method is the best way i can make use of a 3dx device in my application.
Is there a solution to this problem?
Thank you
Gabriel
When i run your WM_INPUT exemple, GetRawInputData() fails on line 142 in WM_INPUTExample.cpp. The WM_INPUT method is the best way i can make use of a 3dx device in my application.
Is there a solution to this problem?
Thank you
Gabriel