> 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

<<attachment: winmail.dat>>

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to