Re: ctypes, python 2.5, WinFunctionType and _as_parameter_

2006-11-07 Thread gerard5609
Thomas Heller a écrit : > cast(function, c_void_p).value Yes, it works. Many thanks ! Gerard -- http://mail.python.org/mailman/listinfo/python-list

ctypes, python 2.5, WinFunctionType and _as_parameter_

2006-11-06 Thread gerard5609
Hello, how to get at the function address of a WinFunctionType ctypes object ? With ctypes 1.0, I used just myfunc._as_parameter_ and all was well. With ctypes 1.0.1, that ships with python 2.5, WinFunctionType has no longer an _as_parameter_ attribute Where in the ChangeLog and the documentation