Tim Roberts <t...@probo.com> wrote:

> Bill wrote:
> >
> >So I went to look in c:/Windows/System32/, and sure enough, there it is:
> >
> >$ file /c/Windows/System32/python27.dll
> >/c/Windows/System32/python27.dll: PE32 executable for MS Windows (DLL) (GUI) 
> >Intel 80386 32-bit
> >$
> 
> On 64-bit Windows, 32-bit DLLs need to be installed in C:\Windows\SysWOW64, 
> not C:\Windows\System32.  Yes, that's not a typo.

Well, it's the Python installer that's doing the installing; I assume
it's doing it correctly.  In fact, when I look at C:\Windows\SysWOW64, I
can see python27.dll.

> When a 32-bit application refers to System32, the operating system
> automatically rewrites the path to SysWOW64.  Now, if your Cygwin is a
> 32-bit app, it could be getting fooled as well.

So, if I "cd" to "/c/Windows/System32", and do "ls -l python27.dll",
it's really looking at "/c/Windows/SysWOW64" instead?  That's why I see
it with msys's "ls" and "file", but not with cmd.exe and "dir", or
depends.exe?

> I suggest you start up a command shell and see where the file really
> lives.  If it really lives in system32, you'll need to move it.

Looks like it's in C:\Windows\SysWOW64\, as it should be.

Thanks, Tim.

Bill
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to