[Distutils] Compile Windows64 AMD64

Mark Hammond mhammond at skippinet.com.au
Sun May 20 15:19:21 CEST 2007

> So I tried ctypes, and it just worked (without any build issues - in fact
I didn't
> have to build anything or write any code).  Is there any reason I'd want
to write 
> an extend python module (to load my shared library and run exported
functions from 
>it) that compiles with distutils, instead of just using ctypes?

If your extension module does exactly what you describe - ie, load functions
from a DLL and calls them, then ctypes is a perfect replacement.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1804 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070520/c2825f1e/attachment.bin 

More information about the Distutils-SIG mailing list