<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">



<div> A couple of years back <font><font color="black" face="arial" size="2"> Oscar Lindberg wrote a program called pymultimouse, which has a homepage at </font></font><font><font color="black" face="arial" size="2"><a class="postlink" href="http://code.google.com/p/pymultimouse/">http://code.google.com/p/pymultimouse/.</a></font></font> I've been using the file rawinputreader.py, which is avaliable in the zipped folder in the downloads section of the above link.<br>
<br>
I'm trying to get raw mouse input in a program I'm working on, and I've 
been trying to use pymultimouse . I'm trying
 to run the code he's got, but it uses ctypes, and when I try to run I'm getting this 
error:<br>
<br>
<dl class="codebox"><dd><code>Traceback (most recent call last):<br>
  File "C:\Users\jmite\rawinputreader.py", line 324, in <module><br>
    pprint.pprint(rir.pollEvents())<br>
  File "C:\Users\jmite\rawinputreader.py", line 210, in pollEvents<br>
    windll.user32.DispatchMessageA(pMsg)<br>
WindowsError: exception: access violation writing 0x00000001<br>
</code></dd></dl><br>
<br>
Does
 anybody have ideas as to how the code could be patched to possibly fix 
this? There's only been one release of it, and other people seem to be 
able to run it just fine, so is it possibly something machine specific?<br>
I'm new to python, let alone ctypes and win32 modules, so any help would be tremendously wonderful at this point.<br>
<br>
Thanks!<br>
<br>
Jmite<br>
<br>
<br>
</div>



<div style="clear: both;"></div>

</font></font>