[Ironpython-users] ctypes on IronPython - differences with CPython

Michael van der Kolff mvanderkolff at gmail.com
Fri Nov 30 00:55:08 CET 2012


In paramiko, we try to find a Pageant window using either the win32all
module or the ctypes module.

win32all is not implemented on IronPython, which is to be expected, but
ctypes is.  However, FindWindowA doesn't do what we expect:
On CPython:
>>> import ctypes
>>> ctypes.windll.user32.FindWindowA('Pageant','Pageant')
131376

On IronPython:
>>> import ctypes
>>> ctypes.windll.user32.FindWindowA('Pageant','Pageant')
0

Am I doing something that isn't expected to work?

Cheers,


Michael van der Kolff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20121130/bf641ba1/attachment.html>


More information about the Ironpython-users mailing list