[issue11464] Call Mac API Crash via ctypes

yufun report at bugs.python.org
Fri Mar 11 06:52:46 CET 2011


New submission from yufun <heyt1981 at gmail.com>:

appsLib =cdll.LoadLibrary(util.find_library('ApplicationServices'))
event = appsLib.CGEventCreate(None);
pt = appsLib.CGEventGetLocation(event);

Crash after execute above python code. But these code works well in python3.13.

----------
assignee: theller
components: ctypes
messages: 130546
nosy: heyt1981, theller
priority: normal
severity: normal
status: open
title: Call Mac API Crash via ctypes
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11464>
_______________________________________


More information about the Python-bugs-list mailing list