By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,995 Members | 1,217 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,995 IT Pros & Developers. It's quick & easy.

ctypes-1.0.2 for 64-bit Windows

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.