On Wed, 16 Feb 2005 20:57:18 -0500, Scott
<scott+> 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 brand
>new project using VC6.
>
>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 sources of the same version as your installed Python.
[snip]
The example files described here are distributed with the Python
sources in the PC\ example_nt\ directory
"""
i.e. you have to download a copy of the Python source distribution.
>
>Ultimately, what I want to do is interface some Python
>code with a DLL that controls an A/D board. I expect
>I'll need to write an extension module to act as a shim
>between this DLL and the Python code.
Possibly not; check out the ctypes module --
http://starship.python.net/crew/theller/ctypes/
but *do* please read the docs before posting
HTH,
John