<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>Vernon,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>Thanks for the tip, which I followed, but the result was
not good yet. [I'm inclined to think that there's something wrong with my PC at
work, but it's beyond me to figure out what. I upgraded to Windows XP Pro
Service Pack 3.]</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>I downloaded python-2.5.4.msi from python.org, and
pywin32-212.win32-py2.5.exe from sourceforge.net, using the links you
provided. </FONT></SPAN><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>Then I installed python followed by pywin32. When I
run Pythonwin and try to open a file, I got the following (different) error
message:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>PythonWin 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC
v.1310 32 bit (Intel)] on win32.<BR>Portions Copyright 1994-2008 Mark Hammond -
see 'Help/About PythonWin' for further copyright information.<BR>>>>
Traceback (most recent call last):<BR> File "boot_com_servers.py", line
44, in <module><BR> File "tbzr.pyo", line 124, in
<module><BR> File "tbzr.pyo", line 61, in
get_all_com_classes<BR> File "contextmenu.pyo", line 9, in
<module><BR>ImportError: No module named shell<BR>Redirecting output to
win32trace remote collector</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>The files in system32 are</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>C:\Python25>dir /s
\windows\system32\py*.dll<BR> Volume in drive C is System<BR> Volume
Serial Number is F8F2-995F</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2> Directory of C:\windows\system32</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2>12/23/2008 03:10
PM 2,117,632
python25.dll<BR>07/27/2008 03:27
PM 339,968
pythoncom25.dll<BR>07/27/2008 03:23
PM 114,688
pywintypes25.dll<BR>
3 File(s) 2,572,288 bytes</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=813440619-26012009><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=813440619-26012009></SPAN><FONT face=Arial><FONT
color=#800080><FONT
size=2>The files in c:\python25 are</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#800080 size=2>C:\Python25>dir /s
py*.dll<BR> Volume in drive C is System<BR> Volume Serial Number is
F8F2-995F</FONT></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#800080 size=2> Directory of
C:\Python25\Lib\site-packages\isapi</FONT></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#800080 size=2>01/26/2009 11:05
AM 37,888
PyISAPI_loader.dll<BR>
1 File(s) 37,888
bytes</FONT></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#800080 size=2> Directory of
C:\Python25\Lib\site-packages\pywin32_system32</FONT></DIV>
<DIV><FONT face=Arial color=#800080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#800080 size=2>01/26/2009 11:05
AM 339,968
pythoncom25.dll<BR>01/26/2009 11:05
AM 114,688
pywintypes25.dll<BR>
2 File(s) 454,656
bytes</FONT></DIV><FONT face=Arial><FONT color=#800080><FONT size=2><SPAN
class=813440619-26012009></SPAN></FONT></FONT></FONT><FONT face=Arial
color=#800080 size=2></FONT>
<DIV><FONT face=Arial color=#800080 size=2></FONT><FONT face=Arial color=#800080
size=2></FONT><BR><SPAN class=813440619-26012009><FONT face=Arial color=#800080
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=813440619-26012009><FONT face=Arial color=#800080
size=2>Donald</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Vernon Cole [mailto:vernondcole@gmail.com]
<BR><B>Sent:</B> Monday, January 26, 2009 10:36 AM<BR><B>To:</B> Liu, Donald (H
USA)<BR><B>Cc:</B> mhammond@skippinet.com.au;
python-win32@python.org<BR><B>Subject:</B> Re: [python-win32] ImportError: DLL
load failed: The specified procedure could not be found.<BR></FONT><BR></DIV>
<DIV></DIV>Donald:<BR> I'm going to do a little information thing
here...<BR>Active Python is a package put together by ActiveState. It is a
commercial product (with some licensing restrictions) that has both commercial
and community support. You can find support for that package at <A
href="http://www.activestate.com/support/">http://www.activestate.com/support/</A>
. <BR><BR> As far as I know, it is simply a repackaging of two (perhaps
more?) free and open source packages, which you can download separately and
which have their own support mechanisms -- including the one you are using now.
<BR><BR>Python is found at <A
href="http://www.python.org/download/">http://www.python.org/download/</A><BR>and
pywin32 is at <A
href="http://sourceforge.net/projects/pywin32/">http://sourceforge.net/projects/pywin32/</A><BR><BR>
You might want to try downloading these original packages to see whether your
installation problems go away. In exchange for the additional difficulty of
downloading two packages, rather than only one, you have the advantage of
knowing that you will never have to pay for a redistribution
license.<BR>--<BR>Vernon Cole<BR><BR><BR>
<DIV class=gmail_quote>On Mon, Jan 26, 2009 at 10:28 AM, Liu, Donald (H USA)
<SPAN dir=ltr><<A
href="mailto:donald.liu@siemens.com">donald.liu@siemens.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
Mark,<BR><BR>Thanks for your reply. I ran "dir
c:\Windows\system32\py*.dll", and got<BR>the following:<BR><BR>C:\>dir
Windows\system32\py*.dll<BR> Volume in drive C is System<BR> Volume
Serial Number is F8F2-995F<BR><BR> Directory of
C:\Windows\system32<BR><BR>03/27/2008 06:12 PM
2,117,632 python25.dll<BR>03/27/2008 06:13 PM
323,584 pythoncom25.dll<BR>03/27/2008 06:13 PM
98,304 pywintypes25.dll<BR>
3 File(s)
2,539,520 bytes<BR> 0
Dir(s) 12,925,677,568 bytes free<BR><BR>Looks like there's only one set
of these files in the system32<BR>directory.<BR><BR>By the way, I only had
problem with installation on the PC at work. My<BR>PC at home, which
also has Windows XP, runs ActivePython with no<BR>problem. Unfortunately
it's the PC at work that I'd like to make the<BR>installation work
...<BR><BR>Thanks again,<BR><FONT color=#888888>Donald<BR></FONT>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c><BR>-----Original Message-----<BR>From: Mark Hammond
[mailto:<A
href="mailto:skippy.hammond@gmail.com">skippy.hammond@gmail.com</A>]<BR>Sent:
Friday, January 23, 2009 8:20 PM<BR>To: Liu, Donald (H USA)<BR>Cc: <A
href="mailto:python-win32@python.org">python-win32@python.org</A><BR>Subject:
Re: [python-win32] ImportError: DLL load failed: The specified<BR>procedure
could not be found.<BR><BR>On 24/01/2009 11:03 AM, Liu, Donald (H USA)
wrote:<BR>> Hi. I'm new to Python. Just downloaded<BR>>
ActivePython-2.5.2.2-win32-x86.msi and installed under "Microsoft<BR>>
Windows XP Professional Version 2002 Service Pack 2".<BR>><BR>> When I
click Start => Programs => ActiveState ActivePython2.5
=><BR>> Pythonwin Editor, I got the "PythonWin" window opened with no
problem.<BR>> However, when I try to open a file (by either typing ctrl+o,
or using<BR>> the "open file icon", I run into the following error
message:<BR>><BR>> PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18)
[MSC v.1310 32 bit<BR>> (Intel)] on win32.<BR>> Portions Copyright
1994-2006 Mark Hammond - see 'Help/About PythonWin'<BR>> for further
copyright information.<BR>>>>> Traceback (most recent call
last):<BR>> File "boot_com_servers.py", line 21,
in<module><BR>> File
"C:\Python25\lib\site-packages\pythoncom.py", line
3,<BR>in<module><BR>>
pywintypes.__import_pywin32_system_module__("pythoncom",<BR>globals())<BR>>
File "C:\Python25\Lib\site-packages\win32\Lib\pywintypes.py",
line<BR>98,<BR>> in __import_pywin32_system_module__<BR>>
('.dll', 'rb', imp.C_EXTENSION))<BR>> ImportError: DLL load failed:
The specified procedure could not be<BR>> found.<BR>><BR>> Others
seem to have ran into this problem before but I couldn't locate<BR>a<BR>>
solution.<BR><BR>Check if you have copies of pywintypes25.dll and
pythoncom25.dll in your<BR><BR>system32 directory, and if so, that they are
identical to the ones in<BR>your Python directory. If they are not,
update the system32 ones with<BR>the python
ones.<BR><BR>Cheers,<BR><BR>Mark<BR><BR></DIV></DIV>
<DIV
class=Ih2E3d>----------------------------------------------------------------------------<BR>This
message and any included attachments are from Siemens Medical Solutions<BR>and
are intended only for the addressee(s).<BR>The information contained herein
may include trade secrets or privileged or<BR>otherwise confidential
information. Unauthorized review, forwarding, printing,<BR>copying,
distributing, or using such information is strictly prohibited and may<BR>be
unlawful. If you received this message in error, or have reason to
believe<BR>you are not authorized to receive it, please promptly delete this
message and<BR>notify the sender by e-mail with a copy to <A
href="mailto:Central.SecurityOffice@siemens.com">Central.SecurityOffice@siemens.com</A><BR><BR>Thank
you<BR>_______________________________________________<BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>python-win32 mailing list<BR><A
href="mailto:python-win32@python.org">python-win32@python.org</A><BR><A
href="http://mail.python.org/mailman/listinfo/python-win32"
target=_blank>http://mail.python.org/mailman/listinfo/python-win32</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>----------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
and are intended only for the addressee(s).
The information contained herein may include trade secrets or privileged or
otherwise confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to Central.SecurityOffice@siemens.com
Thank you</pre></font></td></tr></table>