Thanks for the responses :-). Sounds like ctypes is a cleaner more generic extension module of what I was considering to develop manually.
-----Original Message----- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Sunday, May 20, 2007 8:19 AM To: Mowry, Peter; [email protected] Subject: RE: [Distutils] Compile Windows64 AMD64 > 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. Mark _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
