469,366 Members | 2,408 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,366 developers. It's quick & easy.

ctypes-1.0.2 for 64-bit Windows

For the brave enough to run a 64-bit Python under a 64-bit Windows installation,
I have added a first version of ctypes for win64 in the sourceforge download area.
It does NOT use the same sourcecode as the 'official' version, the code has been
patched by merging selected commits from the Python SVN trunk.

This release is not too much tested; in fact even one unittest still fails.
The failure only occurs when compiled for Python 2.5 with the MS SDK
compiler, not with Visual Studio 2008.

If you try to use ctypes-win64, be sure to use the proper argtypes and restypes
attributes for dll-functions; integers (which ctypes assumes by default) and
pointers have different sizes on 64-bit Windows.

Apart from that, enjoy.

Thomas
May 15 '07 #1
0 991

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by achrist | last post: by
19 posts views Thread by Thomas Heller | last post: by
reply views Thread by Srijit Kumar Bhadra | last post: by
1 post views Thread by sjdevnull | last post: by
6 posts views Thread by Jack | last post: by
1 post views Thread by moreati | last post: by
3 posts views Thread by Andrew Lentvorski | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.