Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-17 Thread "Martin v. Löwis"
Scott wrote: I'm specifically trying to perform step 6. Creating a brand new project using VC6. The instructions are outdated. Don't use VC6 to build extension modules for Python 2.4. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-17 Thread Miki Tebeka
Hello Simon, > What's the difference between ctypes, SWIG and SIP? SIG and SIP take C/C++ *sources* and create Python modules. ctypes works directly with the binary dll. Bye. -- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-17 Thread Fredrik Lundh
Simon John wrote: > What's the difference between ctypes, SWIG and SIP? > > I've used SWIG to "convert" C source to Python (as I believe SIP > does?), so does ctypes wrap functions from binaries (e.g. DLL's)? ctypes is a "runtime linker". it generates bindings on the fly, at runtime, and doesn't

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-16 Thread Fredrik Lundh
"Scott" <[EMAIL PROTECTED]> wrote: > >>The trouble I have is that there are no PC or PCbuild > >>subdirectories in C:\Python24. Where do I find these? > > > > > > As the quoted URL says (2nd para): > > """ > > To build extensions using these instructions, you need to have a copy > > of the Python

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-16 Thread Simon John
What's the difference between ctypes, SWIG and SIP? I've used SWIG to "convert" C source to Python (as I believe SIP does?), so does ctypes wrap functions from binaries (e.g. DLL's)? -- http://mail.python.org/mailman/listinfo/python-list

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-16 Thread Scott
John Machin wrote: > On Wed, 16 Feb 2005 20:57:18 -0500, Scott > <[EMAIL PROTECTED]> wrote: > > >>I've installed Python 2.4 under WinXP and am attempting to >>create an extension module using the steps outlined here: >>http://python.org/doc/2.4/ext/win-cookbook.html >> >>I'm specifically trying to

Re: Help with C extensions under VC6 / WinXP and Python 2.4

2005-02-16 Thread John Machin
On Wed, 16 Feb 2005 20:57:18 -0500, Scott <[EMAIL PROTECTED]> wrote: >I've installed Python 2.4 under WinXP and am attempting to >create an extension module using the steps outlined here: >http://python.org/doc/2.4/ext/win-cookbook.html > >I'm specifically trying to perform step 6. Creating a bran