Yep, that works! Paramiko's agent handling has all kinds of string==bytestring assumptions, so I'll need to write some patches for that. My repo for that work: https://github.com/mvdk/paramiko.
Cheers, Michael On Fri, Nov 30, 2012 at 11:08 AM, Jeff Hardy <[email protected]> wrote: > No, that should work. Can you try it with FindWindowW? Perhaps there's > a unicode issue (IronPython strings are unicode). One other thing to > try would be FindWindowA(b'Pageant', b'Pageant') to force it to use > byte strings. > > - Jeff > > On Thu, Nov 29, 2012 at 3:55 PM, Michael van der Kolff > <[email protected]> wrote: > > 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 > > > > _______________________________________________ > > Ironpython-users mailing list > > [email protected] > > http://mail.python.org/mailman/listinfo/ironpython-users > > >
_______________________________________________ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users
