[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

Christoph Gohlke report at bugs.python.org
Fri Jan 21 10:34:51 CET 2011


Christoph Gohlke <cgohlke at uci.edu> added the comment:

The provided example has two problems: The DLL should be loaded as cdll, not windll. C_METHOD_TYPE4 uses c_int32 as parameter type while pyFunc4Type in testPy2.cpp uses LPVOID (64 bit on win-amd64). Even with those corrections the issue remains.

----------
nosy: +cgohlke

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


More information about the Python-bugs-list mailing list